- Install dependencies
yarn install
- Build
yarn build
- Start
node dist/app.js
rpc= wsRpc= db= etd_node_id= etd_node_name= NODE_ENV=development
This project was split into following design pattern.
- Handler - When remote sends any command or any schedule jobs triggered, handler will be called.
- Service - When handler received jobs, it will be sent to the corresponding service to handle.
- Remote client - Handle every connection between client and server
In general, services are contained by handler, and handler will decide how to use its services.