3
1 Comment

Migrating user database from phone to web

Hi,
My app is in react native using mysql database and firebase for events. We had plans to move the code to Google's Flutter eventually.

I'm just wondering any input on what would be the easiest way to migrate the users locally stored database (on device) to the web for read-only viewing?

The second part of the question is, also having the web database so that it would read/write on the web so they could login and edit their data , which would then sync back to the phone app.

Thankyou.

  1. 2

    Migrations are certainly not the most exciting. Do people have user accounts already at all? Or is everything all local to the device? I imagine you need a flow for people to sign up for an account with you in the cloud (possibly using Firebase Authentication + Firestore for database) and then be very transparent that the data would be transmitted off the device and synced online. Some people may have used your app because they wanted the offline/local functionality.

    It could be interesting to change your codebase completely to Flutter while also migrating a local database to the cloud, sounds like a huge dev headache. Have you considered just starting from zero with a new v2 version and deprecating the old tool with an export function & then an import function for the new app after people already have a new account?

Trending on Indie Hackers
After 10M+ Views, 13k+ Upvotes: The Reddit Strategy That Worked for Me! 42 comments Getting first 908 Paid Signups by Spending $353 ONLY. 24 comments 🔥Roast my one-man design agency website 21 comments I talked to 8 SaaS founders, these are the most common SaaS tools they use 19 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments Hero Section Copywriting Framework that Converts 3x 12 comments