A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# copy .env.default and rename the copy to .env
$ cp .env.default .env
# change values inside .env
REDIS=
NODE_ENV=
PG_HOST=
PG_PORT=
PG_USERNAME=
PG_PASSWORD=
SECRET_JWT=
# copy .env.default and rename the copy to .env
$ cp .env.default .env
# change values inside .env
REDIS=
NODE_ENV=
PG_HOST=
PG_PORT=
PG_USERNAME=
PG_PASSWORD=
SECRET_JWT=
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# build images
$ docker-compose build
# after build images run docker app
$ docker-compose up -d
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# Create migration
$ npm run migration:create --name=CreateTableUser
# Run migrations
$ npm run migration:run
# Revert migrations
$ npm run migration:revert
# Create Entity
$ npm run entity:create --name=User
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.