-
项目拉下来后,运行时会报错找不到
config/db.ts
,这个文件需要自己创建,并配置好数据库信息。具体教程可以参考我的掘金博客:《Nest.js 从零到壹系列(二):数据库的连接》 -
分支
use-redis
新增了 Redis 功能,为照顾没学到第 8 课的读者,在不影响 master 分支的情况下,单独开的分支。具体教程可以参考我的掘金博客:《Nest.js 从零到壹系列(八):使用 Redis 实现登录挤出功能》
完整教程可以参考我的掘金博客集: 【NestJS 实战教程】
A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
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.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.