Skip to content

dimeloper/nestjs-starter

Repository files navigation

Dimeloper's Nest Starter Project

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

Installation

$ pnpm install

Running the app

# development
$ pnpm start

# watch mode
$ pnpm start:dev

# production mode
$ pnpm start:prod

Test

# unit tests
$ pnpm test

# e2e tests
$ pnpm test:e2e

# test coverage
$ pnpm 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.

About

A starter project to get going with NestJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published