Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

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.

Stay in touch

License

Nest is MIT licensed.

Add module

nest generate module tasks

Add controller

nest generate controller tasks

nest generate controller tasks --no-spec

Add service

nest generate service tasks

nest generate service tasks --no-spec

Docker

run container:

docker run --name postgres-nest -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postres

list containers running:

docker container ls

stop container:

docker container stop postgres-nest

delete container:

docker container rm postgres-nest

Course

https://github.com/arielweinberger/nestjs-course-task-management

deploy to heroku

git push -f heroku HEAD:master
heroku config:set STAGE=prod
heroku logs --tail