Lovable migration
Move your app off Lovable to code you own: with or without AI tools
Lovable got you a working product fast. Now you want the repository, the database, the domain and the deploy in your own hands, and a codebase a normal engineer can work in. We migrate Lovable apps to custom code (written by Nikola Golux and named collaborators, with Claude Code and Cursor where they help, never where they hide) and we keep the app running while we do it.
The audit tells you what is actually locked in. The call tells you what it takes to get it out.
Why people leave
What Lovable does not carry across on its own
Exporting the code is the easy part: Lovable's GitHub sync already does that. What stays behind is everything the code points at.
The database is Supabase, shaped for the demo
Row-level-security rules written by a generator, tables built for the first screen, and no migrations history you can trust. Moving the data is a project; moving it without downtime is the job.
Images and files live on Lovable's CDN
Every upload made in the Lovable editor went to a bucket you do not own. Leave the project before copying them and they are gone.
The domain and the deploy are theirs
yourapp.lovable.app is Lovable's hostname. Bookmarks, SEO, cookies and email links all point at it. The cutover has to be planned, not clicked.
Secrets sit in the browser bundle
Generated apps call the database from the browser, so every rule about who sees what lives in RLS policies a generator wrote, and some apps also ship a service key or a paid API key. The fix is a server between the browser and the data, which is why 'export and host it elsewhere' is not enough.
Auth is welded to Supabase
Sessions, Google sign-in, password resets and the users table are one thing. They have to be re-created on the new side and swapped with one extra sign-in, not a new account.
Nobody can explain the code
Prompts produced it; no one designed it. Before it can be maintained it needs a data model somebody chose, boundaries somebody drew, and tests somebody wrote.
What you get
A codebase, a database and a deploy that are yours
We leave behind a system a hired engineer can take over on Monday. The stack is mainstream on purpose.
Your repository, your history
Code in your GitHub organization from day one, with commits that say why, and a README that a new engineer actually reads.
A real backend and API
The browser talks to an API; the API talks to the database. Access rules live in tested code, not in a policy a generator wrote. Node/TypeScript or Ruby on Rails: your call, our recommendation.
Your data, moved without downtime
Exported, reshaped where the schema needed it, imported, verified against the live app, and cut over with one DNS change. The old system stays up as a fallback for a week.
Auth that survives the move
The same users and passwords, the same Google sign-in; everyone signs in once more on the new side, and nobody signs up twice.
Assets and uploads under your control
Every image and file copied to storage you own, served through your domain, with the URLs the search engines already know redirected.
Hosting you can leave too
Docker, a plain server or a cloud you already pay for, CI that deploys on push, backups you have watched restore, and a runbook. No proprietary layer, including ours.
How the migration runs
Four steps, and the app stays up throughout
We migrate in slices, riskiest first. Your users keep using the Lovable app until the new one has proved itself beside it.
- 01
Assessment and inventory
One to two weeks. The free audit first; then we read the exported code, map every table, every bucket, every third-party key, and write down what survives and what gets rebuilt. You get the plan and a fixed price.
- 02
Backend and data first
The API, the data model with the traps closed, the access rules with tests, and the migration script that moves the data. Run against a copy until it is boring.
- 03
Front end reconnected
Your React UI keeps its flows and its look; it stops calling Supabase and starts calling your API. Where Claude Code or Cursor speed this up, we use them, and review every line as if a junior wrote it.
- 04
Cutover and fallback
Assets copied, redirects in place, DNS flipped when you say so, the old app kept for a week. Then the runbook, the handover session, and a roadmap for what to do next.
Migration planning
A clear plan for the move
We review your application before recommending what to keep, what to replace and how to move it. The plan covers access controls, data, integrations, asset ownership and release checks.
- Access
- Document who can see and change each resource
- Data
- Plan exports, verification and recovery
- Release
- Agree on cutover checks and rollback steps
- Handover
- Document deployment and ongoing maintenance
Is this the right page?
For founders who have decided, or nearly decided, to leave
This is for you when
- The app has users, revenue or a contract that depends on it
- You want the code, data and domain in accounts with your name on them
- A customer or investor has asked who controls production
- Feature work on Lovable has become slower than it was
- You want to keep using AI tools to build, on a foundation that is yours
Not yet, when
- You are still validating the idea: stay on Lovable, ship, and run the free audit when the first customers arrive
- You want to stay on Lovable and build better there, see Lovable development help instead
- The app only needs its risks fixed, not a new home. The two-week hardening sprint does that without a migration
Questions
Migrating off Lovable, answered
- Can you migrate from Lovable to a stack other than React?
- The front end is usually worth keeping. It is the part Lovable does well and the part your users know. The backend is where the choice is: Node/TypeScript when your team will be JavaScript people, Ruby on Rails when you want the most product per engineer-hour. We recommend, you decide.
- Do we have to leave Supabase too?
- No. Supabase as a managed Postgres behind your own API is a fine setup. What has to go is the browser talking to it directly with generated policies. Some apps keep Supabase; some move to a managed Postgres elsewhere. The assessment settles it.
- Will you use Claude Code or Cursor to do the migration?
- Where they are faster and the output is reviewable, yes: scaffolding, tests, repetitive conversions. Where judgment is the work (the data model, access rules, the cutover) Nikola Golux does it by hand. Every line, whoever or whatever wrote it, is reviewed before it ships.
- How long does a Lovable migration take?
- The assessment and plan: one to two weeks. A focused migration of a typical Lovable SaaS (auth, data, API, cutover) six to twelve weeks, with the app live throughout. Bigger products go in slices so value ships continuously.
- What does it cost?
- The audit is free. The plan comes with a fixed price for the migration, and if you start with the two-week hardening sprint, that work carries into it. Our project calculator gives a range in five minutes.
- Can we keep shipping features on Lovable during the migration?
- Yes, within reason. We freeze the data model, not the product; features that touch tables we are moving wait a sprint. Everything else keeps going, and we carry it across.
- What happens to our Lovable project afterward?
- Keep it until every asset is copied and the redirects have run for a month. Then archive it. Nothing in the new system depends on it.
- What if we do not want to leave after all?
- Then we say so during the assessment. Sometimes the right answer is the hardening sprint on Lovable-hosted code, or Lovable development help to build better there. We would rather keep a founder than sell a migration.
Other paths from here
- The free production-readiness auditSee what is actually exposed before you decide anything. About a minute.
- Fix one problemSomething specific broken? One named problem, quoted after a call, usually inside 48 hours.
- MVP hardening sprintFix the risks in two weeks without a migration. The work carries into one later.
- Lovable development helpStaying on Lovable? Product, design and architecture help to build it right there.
- Claude Code app reviewBuilt with Claude Code instead? Architecture review and optimization for AI-written codebases.
- From vibe-coded MVP to productionThe full story, for any AI builder.
- How we run projectsEvery migration runs in Golux Club: tickets, approvals, one record you can see.
From the products we build
Free tools and guides from software we built and run ourselves.
- pigeonatlas.comSending email from Lovable or Supabase Edge FunctionsA working Edge Function that sends over HTTP, and why SMTP is the wrong choice in that environment.Read it
- serverinspector.comUptime, SSL and domain monitoring for Lovable appsWhat to watch once a Lovable app has real users: the app, its API, its domain and its certificate.Read it
Next step
Bring us the Lovable project. We will tell you what it takes to own it.
Free audit first, then a written plan with a fixed price. No obligation, and the app stays up either way.