Cookie-gg / nestjs-typeorm-swagger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 and typeorm

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 docs
$ npm run prisma:docs

# run prisma studio
$ npm run prisma:studio

Databse

You can useMySQL

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

# stop container
docker compose down

Test

# unit tests
$ npm run test

# 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.

About


Languages

Language:TypeScript 89.7%Language:JavaScript 10.3%