/nestjs-starter

A starter project to get going with NestJS.

Primary LanguageTypeScript

Dimeloper's Nest Starter Project

A backend API built with Nest, featuring a task management platform.

Installation

$ yarn install

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

Nest CLI helper commands

# generate module
$ nest g module <module-name>

# generate controller
$ nest g controller <controller-name> --no-spec

# generate service
$ nest g service <service-name> --no-spec

Deploy to production

We can use AWS Elastic Beanstalk to deploy the API into production. Prerequisites: JWT_SECRET= and TYPEORM_SYNC= environment variables as well as DB credentials. After first run, remember to set the TYPEORM_SYNC variable back to false.

Recommended NestJS course

NestJS Zero to Hero - Modern Typescript Back-end Development

Stay in touch

Built with Nest

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

NPM Version Package License NPM Downloads Travis Linux Coverage Gitter Backers on Open Collective Sponsors on Open Collective

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.

License

Nest is MIT licensed.