/nest-zero-to-one

Nest.js 从零到壹

Primary LanguageTypeScript

注意

  1. 项目拉下来后,运行时会报错找不到 config/db.ts,这个文件需要自己创建,并配置好数据库信息。具体教程可以参考我的掘金博客:《Nest.js 从零到壹系列(二):数据库的连接》

  2. 分支 use-redis 新增了 Redis 功能,为照顾没学到第 8 课的读者,在不影响 master 分支的情况下,单独开的分支。具体教程可以参考我的掘金博客:《Nest.js 从零到壹系列(八):使用 Redis 实现登录挤出功能》

完整教程可以参考我的掘金博客集: 【NestJS 实战教程】

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

NPM Version Package License NPM Downloads Travis Linux Coverage Gitter Backers on Open Collective Sponsors on Open Collective

Description

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

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

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.