Go to file
2024-01-10 11:46:57 +08:00
.vscode [mod] Room功能 2023-09-11 14:56:12 +08:00
certificate [add] 在來一局機制 2024-01-09 16:07:31 +08:00
docs [add] Room OK 2023-09-11 12:14:17 +08:00
src [add] 遊戲Type 2024-01-10 11:46:57 +08:00
test [mod] 2023-08-31 19:52:55 +08:00
.dockerignore [add] first 2023-08-28 13:44:19 +08:00
.eslintignore [add] 遊戲Type 2024-01-10 11:46:57 +08:00
.eslintrc.json [add] set ESlint 2023-09-10 15:29:58 +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 [mod] docker 2023-09-11 17:06:32 +08:00
package.json [mod] 2023-09-11 16:17:34 +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 [add] login 2023-09-02 00:33:25 +08:00
yarn.lock [add] 環境 2023-09-11 15:58:59 +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