Skip to content

A boilerplate for nestJs with config management, database management, validation, and authentication to start as a base for all NestJS projects.

Notifications You must be signed in to change notification settings

subooom/nestjs-boilerplate

Repository files navigation

NestJS Boilerplate

Nest Logo

This boilerplate is for NestJS enthusiasts who quickly want to get a boilerplate for a more roubust NestJS web application. The implemented features in this boilerplate include:

  • Config Management
  • DTOs, Validation Pipes, Interfaces, Entities
  • Repository Pattern
  • Database Management
  • Database Seeder Management
  • Simple JWT based authentication
  • (optional) Websocket Implementation

Description

Nest framework TypeScript boilerplate repository.

Installation

$ yarn

Create .env file

$ cp .env.example .env.local

And modify the needed variables.

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

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

About

A boilerplate for nestJs with config management, database management, validation, and authentication to start as a base for all NestJS projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published