cocos-creator-multiplayer/examples/mongodb-crud/backend
2021-06-28 23:50:42 +08:00
..
.vscode mongodb-crud 2021-06-26 23:41:37 +08:00
src 优化 2021-06-28 23:50:42 +08:00
test 优化 2021-06-28 23:50:42 +08:00
.gitignore mongodb-crud 2021-06-26 23:41:37 +08:00
.mocharc.js mongodb-crud 2021-06-26 23:41:37 +08:00
package.json mongodb-crud 2021-06-26 23:41:37 +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 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.