Sample Node.js Rest API project.
docker-compose up -d
docker-compose down
Use provided postman collection to create user and get a token to verify end points.
To run application in dev or test mode, first start a mongodb server and update the url in .env
file.
npm test
npm run dev
-
Discover new releases of the packages.
npm outdated
-
Update to a new major version.
npm install -g npm-check-updates
-
Upgrade all the version hints.
ncu -u npm update npm install