Offline first
summary
Demonstrates a working offline-first todo app: resources and data cache, a service worker queue that records POSTs while offline, a heartbeat retry that detects server return and automatically replays queued requests, and a live demo proving tasks added offline sync to the server when it restarts. Covers an alternative stack: PouchDB sync with CouchDB (live replication, conflict revisions), database-per-user via SuperLogin/Envoy, and optional client-side encryption with crypto-pouch encryption. Notes tradeoffs: service-worker custom work is flexible but complex; Couch family gives built-in sync and auth but ties the stack.
AI-written summary · about
