This document discusses designing an offline-online sync system. It explores using databases with built-in sync support like Couchbase and PouchDB. Database replication is also considered but has issues like security, conflicts, and business logic handling. Browser-based solutions have limitations from storage and performance. The plan is to identify needed offline features, follow a git-style pull-push model, and leverage cloud infrastructure and messaging queues. Code examples show using a database, queue, and triggering sync from the local machine to cloud components.