I was able to learn and build this MERN TODO List App within 4 days.
-
Open a terminal and run this command.
cd backend && npm install
-
Install nodemon to run our node server.
npm i -g nodemon
-
Start the MongoDB Services.
mongod
-
Open new terminal and Connect to mongodb client.
mongo
-
Create a database.
use todos-mongodb
-
Create a collection.
db.createCollection("todos")
-
Start the nodejs server by running
npm start
-
Install the frontend dependencies.
npm install
-
Start the project.
npm start