Local-First Collaborative Board: CRDT Sync, Offline Edits and Live Presence
Build a run-of-show board that works without a network and merges everyone's edits: a React app whose data lives in a Yjs document saved to IndexedDB, a service worker for offline reloads, a WebSocket sync protocol with token authentication, presence and reconnection, two Node.js server instances that store every update in PostgreSQL before broadcasting it and share updates and revocations through LISTEN/NOTIFY, and tests from convergence property tests to Playwright taking two browsers offline. Everything runs in a Docker Compose lab on your computer.
Full-Stack Engineer. Advanced. 18 learning topics. 9 practical build steps.