Name | Time | Finished | Info |
---|---|---|---|
add husky | 2022-2-22 | Yes | |
add changelog | 2022-2-22 | Yes | |
connect mysql | 2022-2-23 | Yes | Nest.js 快速入门:实现对 Mysql 单表的 CRUD |
user crud | 2022-2-23 | Yes | |
user login & jwt | 2022-3-1 | Yes | Authentication |
passport encryped & decryped | 2022-3-1 | ||
deploy - local | 2022-3-1 | Yes | pm2 |
deploy - linux | 2022-3 | docker | |
数据库表关系 | 2022-3-2 | Yes | 一对多(从表外键),多对多(中间表) |
文件上传 | 2022-3-3 | Yes | @UploadedFile && useStaticAssets |
Nest framework TypeScript starter repository.
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov