Skip to content

awe-templates/nestjs-starter-template

Repository files navigation

NestJS Starter Template

NestJS Starter Template

This is a simple starter template for NestJS projects. It includes only basic configs and PNPM.

📦 Installation

Setup .env File

Copy .env.example file and rename as .env. Then you can specify your configs.

pnpm install

Running the app

# development
pnpm run start

# watch mode
pnpm run start:dev

# production mode
pnpm run start:prod

Test

# unit tests
pnpm run test

# e2e tests
pnpm run test:e2e

# test coverage
pnpm run test:cov

Example Commands

Create a module

nest g mo app/modules/<module-name>

Create a controller

nest g co app/modules/<module-name>/<controller-name>

Create a service

nest g s app/modules/<module-name>/<service-name>

Create a pipe

nest g pi app/modules/<module-name>/<pipe-name>

Create a model

nest g cl app/shared/<model-name>

About

Simple NestJS starter template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published