A simple and clean OCR [Image to Text] web app.
- Open up a terminal in Visual Studio Code.
- Navigate into a directory where you want the code to be stored.
- Run these 2 commands to clone both the frontend and the backend of the app.
git clone https://github.com/Shilish/OCR-Frontend.gitgit clone https://github.com/Shilish/OCR-Backend.git - Now we have both the frontend and backend on our local machine.
- Navigate into each of the 2 directories in separate CLIs and run
npm install - Create a .env file in both of the folders.
- The .env file in the Frontend folder should contain
REACT_APP_API_URI = http://localhost:3001 - The .env file in the Backend folder should contain
PORT = 3001 API_URI = http://localhost:3001 //NEEDS TO BE SET TO THE LINK THAT CAN ACCESS THE API(Does not always match the port) MONGO_URI = "Your MongoURI here" - In the CLI of the Frontend directory run
npm start - In the CLI of the Backend directory run
npm run js
If you visit http://localhost:3000 on your browser you should now see the app running.