Go to file
2023-08-31 19:28:35 +08:00
.vscode [mod] TSRPC 2023-08-31 19:28:35 +08:00
docs [mod] TSRPC 2023-08-31 19:28:35 +08:00
src [mod] TSRPC 2023-08-31 19:28:35 +08:00
test [mod] TSRPC 2023-08-31 19:28:35 +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] TSRPC 2023-08-31 19:28:35 +08:00
.mocharc.js [mod] TSRPC 2023-08-31 19:28:35 +08:00
Dockerfile [mod] TSRPC 2023-08-31 19:28:35 +08:00
package.json [mod] TSRPC 2023-08-31 19:28:35 +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

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