Building Offline-First Flutter Apps with Couchbase Lite
summary
A small chat app demonstrates an embedded JSON NoSQL database Couchbase Lite with the Dart SDK and Flutter bindings using packages CBL CBL Flutter and CBL Flutter C/E, saving messages as documents (immutable by default, call toMutable to change), observing queries reactively with SQL++ result sets, and running a continuous replicator against a local Sync Gateway and Couchbase Server to sync between iOS and macOS in real time. The demo adds editable messages, creates a full-text search index with stemming and prefix search, and shows it working live.
AI-written summary · about
chapters (10)
- 0:00Introduction to offline-first
- 5:05Building a chat app demo
- 7:57Installing Couchbase Lite packages
- 9:03Initializing Couchbase Lite
- 10:52Saving messages to database
- 14:07Watching database changes
- 19:11Making messages editable
- 21:01Setting up replication
- 24:59Implementing full text search
- 32:59Summary and Q&A
related talks
33mSurviving Network Failures: Building Resilient Offline-First…
42mGoing Offline first with Flutter
21mOffline first Flutter applications
29mPowering offline-first forestry in Europe's wilds
49mOfflineFirst Apps with PouchDB and CouchDB
22mClean Architecture in Flutter for Maintainable Code
44mBuilding Pieces for Developers Our Journey with Flutter and Dart
53mFlutter in Action
