''' npm i -g @nestjs/cli
nest new rest-api-curd
npm i pg typeorm @nestjs/typeorm @nestjs/config
typeorm migration:generate init-auth.migration -d .\src\ormconfig.js
npm install ts-node --save-dev npm i -g typeorm
typeorm migration:create apps/auth/src/db/migraions/initDatabase
nest g module users
nest g controller users
nest g service users
npm install @nestjs/swagger swagger-ui-express
http://localhost:3000/api-docs
migration:generate
Nest framework TypeScript starter repository.
$ npm install
# 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:cov
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.