- Open command prompt
- Run
mongod
- Keep the command prompt open
Database connection can be checked using MongoDB Compass.
- Ensure
NODE_ENV
in.env
file is set todev
. - Run
npm start
. Alternatively, runnode index.js
.
Server would be running at http://localhost:8080
- Ensure
NODE_ENV
in.env
file is set totest
. - Run
npm test
.
- Check out
task-f
branch