More in Migrations & upgrades.
Migrate a 50-screen app from Firebase to Supabase with Claude Code
Going feature by feature with Claude Code, the poster moved about 85% of a 50-screen app from Firebase to Supabase in 10–20 days.
Result: WorkedTool: Claude CodeLevel: AdvancedEvidence: Reported
Reported: A text-only post with no screenshots. Reported is the normal starting point for most cases, not a mark against the case. Rated , after reopening the source. Rates the evidence, not the result. Failed and partial cases are rated the same way. How we rate evidence
Outcome
Prayag, the founding engineer at a US startup, needed to move a 45–50 screen Flutter app off Firebase, where cloud functions were slow to debug and redeploy and Firestore's relationships made dashboards hard. Going feature by feature, Prayag used Claude Code to generate database schemas, guide queries and fix the errors that came up daily, and reports migrating about 85% of the app to Supabase in 10–20 days, with bug-fixing and cleanup left. The $17 plan hit its limits within hours at that scale, so Prayag upgraded to the $100 Max plan, which is when things clicked. Prayag credits years of building Flutter apps by hand for getting the most out of it.
Poster says: ~85% migrated in 10–20 days
This is the source's own number. We haven't measured it.
WorkedPosted Last checked
- Source checked
- Results shared. The poster described their results. This doesn't mean proof is attached.
Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.
How to use this
- Tap Copy prompt.
- Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
- Paste it into the message box.
- Send it, then read the answer before acting on it.
New to this? What's a prompt?
A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.
Prompt
Recreated prompt
The source didn't share its exact prompt, so we wrote one from what it describes. The result shown is the source's, not ours.
The person didn't share their exact words, so we wrote this from what they described. We haven't tested it, and they didn't use this exact version.
Here's a task I'd like your help with. Read it all the way through before you start. Goal: Help me move my app's backend from Firebase to Supabase, one feature at a time. Check with me first: Which feature should we move first? What I'll give you: - My app's code - My current Firebase data structure - A Supabase project Rules: - Move one feature at a time and make sure it works before the next. - Design the database tables and explain them before creating them. - If something is missing or unclear, ask me instead of guessing. - Don't delete Firebase data. Output: The migrated feature, the new tables, and a checklist of what's left. You'll know it worked when: each migrated feature works on Supabase and I know what's left to do.
Try this in:
Sends the Recreated prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.
The source used Claude Code, which can take actions on your computer or in a browser. These are general chat tools, so results may differ, and a normal chat may only give you a plan.
Opens in a new tab. We don't see what you send.
These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.
Optional stronger version
Our rewrite with extra checks. The poster didn't test it.
Here's a task I'd like your help with. Read it all the way through before you start. Goal: Move my app's backend from Firebase to Supabase one feature at a time, keeping each feature working before the next. Quick check first: tell me if anything below is missing or unclear. Inputs (fill in or confirm): - App code - Current Firebase data structure - Supabase project - Feature order Rules: - Design the Postgres schema for each feature from the Firestore structure; show it before creating tables. - Write row-level security policies that match current Firebase rules. - Migrate a copy of the data, never the live source, and verify counts. - Switch one feature in the app, test it, then move on. - Keep a log of daily errors and fixes. Checkpoint: Ask before deleting Firebase data or switching production users. If you get stuck: If a Firestore pattern doesn't map cleanly, explain the options. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords. Verify before you finish: After each feature, compare record counts and run the feature's flows. Output: Schema, migration scripts, RLS policies and a progress log. Done when: each migrated feature works on Supabase with matching data.
AI tool
Source
- Posted
- by Prayag (@prayag_dalal)
- Last checked
- Method:
- How we verify
https://x.com/prayag_dalal/status/1963555583392714791
Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.
More in Migrations & upgrades
Migrate a 180M-row Postgres table to bigint with Claude Code
Claude Code wrote most of a nine-day bigint migration with a 1.4-second lock, but twice suggested steps that would have failed.
WorkedClaude CodeAdvancedView CaseMigrate two websites from WordPress to Wagtail with Claude Code
Over a weekend Claude Code moved two sites from WordPress to Wagtail, including server setup and testing; the poster says nothing broke.
WorkedClaude CodeEvidence: Described by posterAdvancedView CasePort a backend to Convex in four hours with Factory's Droid
The poster reports Factory Droid ported a tRPC/Drizzle backend to Convex in about 4 hours, with some bugs left to fix.
WorkedFactory DroidEvidence: Described by posterAdvancedView CaseMigrate 180 microservices to a new framework version with Cursor agents
Brex reports its self-hosted Cursor agents let one engineer migrate 180 microservices from Micronaut 3 to 4 in a month.
WorkedCursor (self-hosted agents)AdvancedAccording to Brex: 180 microservices migrated in one month
View CasePort an HTML5 parser from Python to JavaScript with Codex CLI
Codex CLI ran largely unattended for about 4.5 hours and produced 9,000 lines of JavaScript passing 9,200 html5lib tests.
WorkedOpenAI Codex CLIEvidence: Screenshots or logsAdvancedPoster says: Passes 9,200 html5lib tests
View CaseUpgrade a plugin to a new framework alpha with Codex CLI
A one-line Codex CLI loop read the Datasette 1.0a20 upgrade docs, fixed the failing tests and got a plugin passing again.
WorkedOpenAI Codex CLIEvidence: Screenshots or logsAdvancedView Case

