A simple solution for syncing message among different front web pages using Socket.io and Koa2.
- First you need to install Node and MongoDB,then execute the following command on the server.
npm install
npm run start # default listen on prot 3000
# or if you use yarn
yarn
yarn start # default listen on prot 3000
- Open your browser and type 'localhost:3000'.