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
# development
$ docker pull postgres:16
# build
$ docker build -t newsletter-backend-app .
# build and run
$ docker compose -f docker-compose.yaml up --build
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# install CLI
$ npm i -g typeorm
# install ts-node
$ npm install ts-node --save-dev
# create migration
$ typeorm migration:create src/migrations/name-migration
# running migration
$ typeorm migration:run -- -d src/config
# revert migration
$ typeorm migration:revert -- -d src/config
$ npm run test:cov
Nest is MIT licensed.