- Install mongoDB from here
- Start the mongoDB Compass app
- Check the connection string by clicking the 3 dots in top left column and clicking "Copy Connection String" option. It should look like this
- Inside the
.env
file in the backend folder setMONGO_URI
to the string you copied.
- Go inside the 'backend' folder and open command prompt.
- Run
npm install
in the command prompt to setup all the dependencies - Run
npm start
to run the project - Open the following link in the browser. If you can see the message "Welcome to TODO Node.js application backend.". Then the setup is complete
- Go inside the 'frontend' folder and open command prompt.
- Run
npm install
in the command prompt to setup all the dependencies - Run
npm start
to run the app. The app should automatically start. If it does not go to http://localhost:3000/ to start the app manually
Here are some sample images of frontend output
- Homepage
- Editing A task