A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# create
$ npm run typeorm migration:create ./src/database/primary/migration/[my-seed-name]
# generate
$ npm run typeorm migration:generate -- ./src/database/primary/migration/[NAME] -d ./src/database/primary/primary.data-source.ts
# run
$ npm run typeorm migration:run -- -d ./src/database/primary/primary.data-source.ts
# revert
$ npm run typeorm migration:revert -- -d ./src/database/primary/primary.data-source.ts
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Remember that after creating a new Entity, you must add it to your DataSource file in the [src/database/] path to the list of entities.
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.