A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
$ cp .env.example .env
# 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
# generate CRUD resource
nest g resource [name]
# create a controller
nest g controller [name]
# create a service
nest g service [name]
# create a module
nest g module [name]
# start docker
docker-compose up -d
# docker build image
docker build -t nest-sample .
# docker start container
docker run -dp 3000:3000 nest-sample
# create a migration
$ npm run migration:create [name]
# generate a migration
$ npm run migration:generate [name]
# run migration
$ npm run db:migrate
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.