Skip to content

A Todo example that uses SyncState to sync states across multiple sessions.

Notifications You must be signed in to change notification settings

syncstate/multi-user-todo-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi User Todo

A todo app that syncs adding, deleting and filtering todos across multiple sessions and is persistent to new connections. You can read more about it in this article.

Mult-User-Todo

Instructions

  1. Clone the github repository

git clone https://github.com/syncstate/multi-user-todo-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.