- Clone this repository
- go to cloned folder
- run
npm install
- copy
.env.example
to.env
and set MongoDB Connection URL - run
npm run seed
- run
npm start
- run
npm run seed
https://www.getpostman.com/collections/b337bc077a1be2260c6b
Also, Exported and added in root folder (file: Engineer.io_Practical_Test.postman_collection.json)
NOTE : I Used 3000 PORT in URL SO, if you change port than need to update URLs in POSTMAN Collection accordingly.
https://documenter.getpostman.com/view/2670949/SztD78bx
- Add Controller and Repository level to make application more maintainable for large project (I used service level only because time limit)
- Add custom error classes to handle errors still more efficiently.
- User logger library like winston to manage logs more properly with log-level and output option
- Integrate Eslint, Prettier
- Add Docker support