Learn how to build an offline-first app using Expo, Supabase, and WatermelonDB. Offline-first architecture shifts the responsibility for the data lifecycle on the front end and has the backend only as a backup/synchronization role. WatermelonDB syncs with Supabase using its sync protocol, providing fast and reactive database functionality for applications.

18m read timeFrom themorrow.digital
Post cover image
Table of contents
What is Offline-First architecture?WatermelonDB Sync ProtocolOverview of the Sync ProtocolPull functionalityPush functionalitySchema of sync implementationDeletion of recordsMaking the Example App Sync to SupabaseHow to set up the Supabase projectHow to set up WatermelonDBWatermelonDB plugin exampleWhere to go from here

Sort: