Go to file
2023-09-01 17:45:19 +08:00
.vscode [mod] 2023-08-31 19:52:55 +08:00
certificate [add] 2023-09-01 09:36:52 +08:00
docs [mod] TSRPC 2023-08-31 19:28:35 +08:00
src [add] .gitkeep 2023-09-01 09:31:16 +08:00
test [mod] 2023-08-31 19:52:55 +08:00
.dockerignore [add] first 2023-08-28 13:44:19 +08:00
.env [mod] TSRPC 2023-08-31 19:28:35 +08:00
.eslintrc.json [mod] TSRPC 2023-08-31 19:28:35 +08:00
.gitignore [mod] 2023-08-31 19:53:45 +08:00
.mocharc.js [mod] TSRPC 2023-08-31 19:28:35 +08:00
Dockerfile [mod] 2023-09-01 17:45:19 +08:00
package.json [mod] 2023-09-01 17:45:19 +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 [mod] TSRPC 2023-08-31 19:28:35 +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