/nest-base

A NestJS TypeORM MySQL Docker boilerplate project

Primary LanguageTypeScript

Nest Logo

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Migration

Note: The TypeORM is not setting to auto synchronize between entity and DB table when application booting. If you wish to migration database, please using following command.

Create new migration

$ npm run migrate:create <migration name>

Migrate database

npm run migrate:up

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

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.