Go to file
2023-09-01 18:02:23 +08:00
.vscode [del] env 2023-09-01 18:02:06 +08:00
certificate [add] 2023-09-01 09:36:52 +08:00
docs [mod] TSRPC 2023-08-31 19:28:35 +08:00
src [del] env 2023-09-01 18:02:06 +08:00
test [mod] 2023-08-31 19:52:55 +08:00
.dockerignore [add] first 2023-08-28 13:44:19 +08:00
.eslintrc.json [mod] TSRPC 2023-08-31 19:28:35 +08:00
.gitignore [del] env 2023-09-01 18:02:23 +08:00
.mocharc.js [mod] TSRPC 2023-08-31 19:28:35 +08:00
Dockerfile [fix] 2023-09-01 17:49:01 +08:00
package.json [del] env 2023-09-01 18:02:06 +08:00
README.md [mod] TSRPC 2023-08-31 19:28:35 +08:00
tsconfig.json [mod] TSRPC 2023-08-31 19:28:35 +08:00
tsrpc.config.ts [mod] TSRPC 2023-08-31 19:28:35 +08:00
yarn.lock [del] env 2023-09-01 18:02:06 +08:00
zSbmoduleUpdate.bat [mod] bat 2023-09-01 17:39:14 +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