/nestjs-jumpstart

nestjs, jumpstart, typeorm, jwt, auth, swagger, jest, fishery, faker

Primary LanguageTypeScript

NestJS Jumpstart

Installation

$ yarn install

Database configuration

Install postgres latest version. Copy .env.example -> .env and config database variables.

$ yarn migration:run

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Open browser and visit localhost:3000/api.

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov