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

A template of nestjs with swagger, typeorm and zod

based from 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

Prisma

# setup prisma for development
$ npm run prisma:dev

# setup prisma for test
$ npm run prisma:test

# run prisma studio
$ npm run prisma:studio

Databse

You can use MySQL

# build container
docker compose up (-d: run in the background)

# stop container
docker compose down

Test

# run all test
$ npm run test

# unit tests
$ npm run test:unit

# e2e tests
$ npm run test:e2e

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.