Skip to content

dharmeshtatva/ai-practical-test

Repository files navigation

Node.js practical test for engineer.ai

Steps to Start Application

  1. Clone this repository
  2. go to cloned folder
  3. run npm install
  4. copy .env.example to .env and set MongoDB Connection URL
  5. run npm run seed
  6. run npm start

SEED Data

  • run npm run seed

POSTMAN Collection Link:

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.

POSTMAN DOCUMENTATION LINK

https://documenter.getpostman.com/view/2670949/SztD78bx

Possible Further Improvements

  • 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

About

Node.js practical test for engineer.ai

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published