Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 693 Bytes

README.md

File metadata and controls

68 lines (45 loc) · 693 Bytes

nest-boilerplate

Installation

npm install

Running the app

Dependencies

docker-compose up

App

# development
npm run start

# watch mode
npm run start:dev

# production mode
npm run start:prod

Migrations

Generate a migration

npm run migration:generate <MIGRATION_NAME>

Create a migration

npm run migration:create <MIGRATION_NAME>

Run migrations

npm run migration:run

Test

# unit tests
npm run test

# unit tests with watch
npm run test:watch

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov

Swagger

Browse to /api to get to the Swagger UI