A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install$ npm run start:docker# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:covTo 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
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.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.