cocos-creator-multiplayer/examples/first-api/backend
2022-01-11 21:16:25 +08:00
..
.vscode first-api & file-upload 2021-06-09 22:38:55 +08:00
src first-api default json: true 2021-12-25 18:30:22 +08:00
.gitignore first-api & file-upload 2021-06-09 22:38:55 +08:00
package.json fixed mongodb type bug 2022-01-11 21:16:25 +08:00
README.md first-api & file-upload 2021-06-09 22:38:55 +08:00
tsconfig.json first-api & file-upload 2021-06-09 22:38:55 +08:00
tsrpc.config.ts examples to new tsrpc-cli 2021-10-07 15:30:02 +08:00

TSRPC Server

Run

Local Dev Server

npm run dev

Build

npm run build

Files

Generate ServiceProto

npm run proto

Generate API templates

npm run api

Sync shared code to client

npm run sync

If you chose symlink when using create-tsrpc-app, it would re-create the symlink instead of copy files.