REST API server for tour of heroes with Node.JS, Express, MongoDB.
A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Nest framework TypeScript starter repository.
dependencies:
Node.js, NestJS, MongoDB
Create MongoDB database with name heroes_api and collection name heroes.
Import data from heroes_db.json file.
Run npm install for installing dependencies.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov