Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

ashutoshsahoo/user-service

Repository files navigation

user-service

Sample Node.js Rest API project.

Start application

docker-compose up -d

Stop application

docker-compose down

Use provided postman collection to create user and get a token to verify end points.

Run application in dev or test mode

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

Update dependencies

  • 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