It is a real-time engine using socket.io.
- Install
git clone https://github.com/tomokazukozuma/Real-Time-Server-Side.git
cd Real-Time-Server-Side
npm install
- Start Up
Before executing the command, start the redis server with 6379 port.
Start up with cluster
npm run start:cluster
Start up in one process
npm run start:server
When starting with option
Install babel-cli globally in advance.
npm install -g babel-cli
WsGroup=ws01 babel-node app.js --port 3001
npm run test
npm run lint
After launching the server side, execute the following command.
npm run start:client
or
babel-node client/app.js --port 3001