Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 733 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 733 Bytes

Multi User Counter

A counter app example that syncs across multiple sessions and is persistent to new connections.

Multi-User-Counter

Instructions

  1. Clone the github repository

git clone https://github.com/syncstate/multi-user-counter-example.git
  1. Install local dependencies

# NPM
npm install

# Yarn
yarn install
  1. Run the server

cd server
node index.js

Runs the server at port 8000 to establish socket connection with the client.

  1. Run the App

# NPM
npm start

# Yarn
yarn start

Runs the app in the development mode.

Open http://localhost:3000 to view it in the browser.