TSRPC_Badminton-Scoreboard/backend
2022-05-04 11:13:09 +08:00
..
.vscode [mod] 2022-05-04 11:13:09 +08:00
src [mod] 2022-05-04 11:13:09 +08:00
test [mod] 2022-05-04 11:13:09 +08:00
.env [mod] 2022-05-04 11:13:09 +08:00
.gitignore [mod] 2022-05-04 11:13:09 +08:00
.mocharc.js [mod] 2022-05-04 11:13:09 +08:00
Dockerfile [mod] 2022-05-04 11:13:09 +08:00
package-lock.json [mod] 2022-05-04 11:13:09 +08:00
package.json [mod] 2022-05-04 11:13:09 +08:00
README.md [mod] 2022-05-04 11:13:09 +08:00
tsconfig.json [mod] 2022-05-04 11:13:09 +08:00
tslint.json [mod] 2022-05-04 11:13:09 +08:00
tsrpc.config.ts [mod] 2022-05-04 11:13:09 +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