add index.md

This commit is contained in:
Hantsy Bai 2021-02-28 10:55:34 +08:00
parent 9d4807d2ac
commit 355e9333e8
5 changed files with 17449 additions and 36 deletions

2
.gitignore vendored
View File

@ -34,3 +34,5 @@ lerna-debug.log*
!.vscode/extensions.json
.env
.metals
.vscode

0
docs/api.md Normal file
View File

9
docs/index.md Normal file
View File

@ -0,0 +1,9 @@
# Building RESTful APIs with NestJS
* [Getting Started](./docs/guide.md)
* [Connecting to MongoDB](./docs/mongo.md)
* [Protect your APIs with JWT Token](./docs/auth.md)
* [Dealing with model relations](./docs/model.md)
* [Externalizing the configuration](./docs/config.md)
* [Handling user registration](./docs/user.md)
* [Testing Nestjs applications](./docs/testing.md)

17467
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,8 @@
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
"test:e2e": "jest --config ./test/jest-e2e.json",
"postinstall": "husky install"
},
"dependencies": {
"@nestjs/common": "^7.0.0",
@ -59,7 +60,7 @@
"eslint": "7.20.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-import": "^2.22.0",
"husky": "^5.0.9",
"husky": "^5.1.1",
"jest": "26.6.3",
"jest-mock-extended": "^1.0.9",
"prettier": "^2.0.5",
@ -95,4 +96,4 @@
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
}