/demo-nestjs

NestJS demo app server

Primary LanguageTypeScriptMIT LicenseMIT

demo-nestjs

GitHub node nestJS Requires.io

Description

NestJS demo app server featuring:

  • Application modularity
  • Request logger with pino
  • MySQL database
  • JWT authentication
  • Role based guard authorization

Requirements

  • Docker and Docker Compose
  • Node v12+
  • Npm v6.12+

Installation

$ docker-compose up -d
$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Documentation

For detailed information please see the project documentation.


romajs - 2020