Skip to content

Latest commit

 

History

History
60 lines (34 loc) · 629 Bytes

README.md

File metadata and controls

60 lines (34 loc) · 629 Bytes

Installation

$ 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

文件服务操作

nest g [文件类型] [文件名] [文件目录(src目录下)]

nest g service user logical

nest g controller user logical

生成一个模块

nest g resource

nest g resource 【名称】 --no-spec

nest g co user nest g mo user nest g s user nest g resource user --no-spec