Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1007 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 1007 Bytes

This repository is an example of an implementation using Automerge.

The code is based on the tutorial given by the docs of Automerge.

Realtime collaboration is achieved using websockets.

What you will find in this repo

You'll find a client (under front/ folder) which consists in a todo list.

And you'll find a server (under back/ folder) which consists in a websocket server.

The Sync Protocol is used to share changes.

How to

You'll find setup details in each folder.

Once front and back initialized and started, you can open several pages http://localhost:8080/ and see the same todo list being shared across all clients. If one client makes changes, every other client is informed.

You also can trigger the network status of each client, if you want to test the offline mode.

Demo