云函数 examples

This commit is contained in:
k8w
2021-12-23 23:36:33 +08:00
parent ed409795d9
commit 82663162b7
35 changed files with 5767 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# TSRPC Server
## Usage
### Local dev server
Dev server would restart automatically when code changed.
```
npm run dev
```
### Build
```
npm run build
```
### Generate API document
Generate API document in swagger/openapi and markdown format.
```shell
npm run doc
```
### Run unit Test
Execute `npm run dev` first, then execute:
```
npm run test
```
---