Parse Words From Uploaded Text File And Count Each Words

NodeJS + TypeScript backend

This is a simple NodeJS backend and web front react page app that upload text file content(show ten most-used words)

Install dependencies

$ yarn (or npm install)

Start development server

$ yarn dev (or npm run dev)

Build for production

$ yarn build (or npm run build)

Start production server

$ yarn start (or npm start)

How to test

$ remove server folder in root directory. not in src/server directory

$ yarn test:unit

Opne http://localhost:3000/ in your browser Type the text into the input field and press “PARSE” button to show the list of most used words

any improvements

  1. file upload progressbar
  2. Enough comments

GitHub

View Github