cocos-creator-multiplayer/examples/mongodb-crud/backend
2022-01-12 15:37:53 +08:00
..
.vscode mongodb-crud 2021-06-26 23:41:37 +08:00
src MongoDB OptionalId<xxx> 2022-01-12 15:37:53 +08:00
test 优化 2021-06-28 23:50:42 +08:00
.gitignore mongodb-crud 2021-06-26 23:41:37 +08:00
.mocharc.js ObjectID -> ObjectId 2021-12-29 22:48:25 +08:00
package.json tsrpc@3.1.8 2022-01-11 21:38:21 +08:00
README.md mongodb-crud 2021-06-26 23:41:37 +08:00
tsconfig.json mongodb-crud 2021-06-26 23:41:37 +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

Unit Test

Execute npm run dev first, then execute:

npm run test

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.