cocos-creator-multiplayer/examples/serverless-faas/backend
2021-12-23 23:36:33 +08:00
..
.vscode 云函数 examples 2021-12-23 23:36:33 +08:00
src 云函数 examples 2021-12-23 23:36:33 +08:00
test 云函数 examples 2021-12-23 23:36:33 +08:00
.gitignore 云函数 examples 2021-12-23 23:36:33 +08:00
.mocharc.js 云函数 examples 2021-12-23 23:36:33 +08:00
Dockerfile 云函数 examples 2021-12-23 23:36:33 +08:00
package.json 云函数 examples 2021-12-23 23:36:33 +08:00
README.md 云函数 examples 2021-12-23 23:36:33 +08:00
tsconfig.json 云函数 examples 2021-12-23 23:36:33 +08:00
tsrpc.config.ts 云函数 examples 2021-12-23 23:36:33 +08:00
yarn.lock 云函数 examples 2021-12-23 23:36:33 +08:00

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.

npm run doc

Run unit Test

Execute npm run dev first, then execute:

npm run test