Skip to content

tomokazukozuma/Real-Time-Server-Side

Repository files navigation

Real-Time-Server-Side

It is a real-time engine using socket.io.

How to setup

  1. Install
git clone https://github.com/tomokazukozuma/Real-Time-Server-Side.git
cd Real-Time-Server-Side
npm install
  1. 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

Run Test

npm run test

linter

npm run lint

Client for Testing

After launching the server side, execute the following command.

npm run start:client

or

babel-node client/app.js --port 3001

About

The Simplest Real Time Server Side using Socket.IO

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published