Open terminal and
npm i
rename .env.example to .env
then again in terminal:
- 1 dev mode
npm run start:dev
Open Postman and make requests as described in https://github.com/AlreadyBored/nodejs-assignments/blob/main/assignments/crud-api/assignment.md
- 2 to test run
npm run test
- 3 to build in one file
npm run start:prod
-4 for horizontal scaling
npm run start:multi