Often times, we have tons of files of different types (e.g. .pdf, .doc, .docx, .ppt, .png, .html, ,jpg etc.) stored in an unstructured/haphazard manner on a laptop. Suppose, in our particular case, these files essentially contain text (scientific papers, research proposals, legal documents and what not).
We want to organize these files in a nice directory structure as per the keywords the user provides. So, we want one directory for files matching a particular keyword and a file should appear in all the directories corresponding to the keywords it matches.
In order to determine the keywords a file matches, we want to read the text in this file and look for the occurrence of various keywords in the text .
Write an application using Node/Express and React/Redux for this purpose.
- React - Frontend javascript library
- Node - Backend framework
- Express - Node.js web application framework
This project was bootstrapped with: Create React App, Express Generator.
Using node 8.10 run the following commands to test the project:
In the root directory run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Once the app is started open a new Terminal window.
From the app root cd into the API directory.
Start the Express server:
Nodemon will watch for updates.