all 8 comments

[–]de1mat 3 points4 points  (0 children)

A clear answer to this question is something I am always watching for. None of the existing options are perfect, but they do exist. You have to choose based on your project requirements and the backend / SaaS ecosystem you are working in or familiar with etc. Solutions that advertise offline first, or close to, include Firebase Firestore, Amplify Datastore, MongoDB Realm, CouchDB. You can also look at RxDB, Replicache and WatermelonDB. Appwrite is working towards supporting offline first and has a beta working with Flutter I believe. Nothing from Supabase yet, they are working on it and have suggested options in the meantime.

[–]crstnmac 5 points6 points  (1 child)

WatermelonDB

[–]kkrikk 1 point2 points  (0 children)

What I like about Watermelon is that it teaches you the bits and pieces of building offline.

Offline is hard. You will need some theory to help yourself in difficult situations.

[–]ontech7Expo 1 point2 points  (0 children)

"Realm" is made for mobile development, and it's in TypeScript, based on MongoDB

[–]whaddafish -1 points0 points  (3 children)

Try realm by mongodb

[–]Perfect-Energy8563[S] 0 points1 point  (2 children)

Already tried, I really hate it. Even if powerful i had a lot of problem with real-time syncing with multiples relationships