Skip to content

ZiaDev/nest-boiler

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

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app using docker

$ npm run start:docker

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

Migrations

To generate, run, and revert migrations, TypeORM provides a dedicated CLI

The migration:run and migration:revert commands only work on .js files. Thus the typescript files need to be compiled before running the commands. Alternatively you can use ts-node in conjunction with typeorm to run .ts migration files.

# Install ts-node
npm install -g ts-node

# Add an empty migration
npm run migration:create NameOfMigration

# Verify Schema log
npm run schema:log

# Auto generate migration
npm run migration:generate NameOfMigration

# Run migration
npm run migration:run

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.

About

Boiler plate for nestjs with typeorm,postgres

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors