How I moved my business off Lovable in one day
My DJ academy ran on Lovable: payments, courses, 160+ student accounts. In one day, with Claude, I moved all of it to infrastructure I own. Nobody noticed, and nobody lost their login.
Why leave at all?
Lovable is a great way to start. It got my site live fast. But as the business grew, I realised I didn't own the important parts:
- The database lived in a Lovable-managed project, not in my own account.
- Logins, emails and AI calls went through Lovable's own services.
- Every change went through their editor and their credits.
Moving out means the code, the data and the bill are mine. And day to day, I now just ask Claude for a change and it's live in minutes.
The rule I followed: build the new home next to the old one, test it fully, and only then flip the switch. The live site never goes down, and the old one stays as a rollback.
STEP 01Map what's locked in
Before touching anything, have Claude read the whole codebase (Lovable syncs it to GitHub) and list every place that depends on Lovable: the database project, Google login, the email sender, AI gateways, connectors. That list is your migration plan.
STEP 02Your own Supabase, same schema
Create a Supabase project in your account. Then rebuild the exact schema: tables, functions, row-level security policies, triggers, storage buckets. Claude applies the migration files from the repo and compares the result to the live database until they match exactly.
STEP 03Copy the data, users included
This is the part people fear. Users can move with their existing passwords, because the password hashes are part of the auth table. Copy auth users and identities, then every table, then the storage files. Check that the row counts match, table by table.
- Google-login users keep working once your own Google OAuth client is set up (step 5).
- Watch for links stored in the data that point at the old project (signed file URLs). Rewrite them to the new project.
STEP 04Run the site on Cloudflare
Build the same app against the new database and deploy it as a Cloudflare Worker on a staging subdomain. Put the server secrets (payment keys, email keys) in Cloudflare, never in the repo. Click through everything on staging: sign up, log in, buy, watch a lesson.
STEP 05Replace the Lovable services
- Google login: your own OAuth client in Google Cloud, plugged into Supabase.
- Emails: Resend (or any SMTP) for login codes, receipts and reminders, sent from your own domain.
- Scheduled jobs: recreate them in your Supabase, and switch the old ones off.
STEP 06Flip the switch
At a quiet hour: run one last data sync, point the domain at the new Worker, and watch the first real logins and orders come in. Keep the old Lovable project untouched for a while, so you can roll back by restoring one DNS record.
For me this took one switch and zero downtime. Students kept learning, orders kept coming, and nobody had to reset a password.
STEP 07How I work now
Every change starts as a sentence to Claude. It edits the code, I check it on my machine, and when I say publish it deploys. No credits, no editor in between, and I own every line.
Want the video version?
I'm recording the full walkthrough, screen and all. Follow along, or email me if you're planning your own move.