Skip to content

mondyfy/nestjs-nuggets

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

NestJs Nuggets Deep Dive into Backend Brilliance.

Installation

$ yarn

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

TypeORM Migrations

Generate Migration From Entity

yarn migration:generate <path>/<file_name>
# for e.g. yarn migration:generate db/migrations/create_table_company

Create New Migration

yarn migration:create <path>/<file_name>
# for e.g. yarn migration:create db/migrations/create_table_company

Run Migration

yarn migration:run

Rollback Migration

yarn migration:revert

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.