lu7766lu7766 / Nestjs-Basic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

Description

Nest framework TypeScript starter repository. AppTask basic api project

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Migration

# watch entitys to generate diffirent or new schema code
$ npm run migration:generate

# run migration in new version
$ npm run migration:run

# rollback migration
$ npm run migration:rollback

Seed

# run config
$ npm run seed:config

# run seeds
$ npm run seed:run

About


Languages

Language:TypeScript 98.3%Language:JavaScript 1.7%