Moving a Lovable app to your own GitHub and hosting: what to ask a developer for
The short answer
Getting the code into your own GitHub account is the easy part. Lovable syncs code to a repository you choose, private by default, and changes flow both ways on one branch. What makes a move a real job is everything the code depends on: the backend, sign-in redirect addresses, secrets, stored files, the data itself and the domain.
So before you hire, decide how far the move goes. Front end only (the backend stays where it is), front end and backend (to a Supabase project you own), or a full exit (no dependency on Lovable left). Then write an order that lists what moves, what stays, how the cut-over happens and how you roll back. The AI-built app brief is the base; the block below adds the move.
What actually moves when you “move the app”
A Lovable app is several things that only look like one:
| Piece | Where it lives by default | Moves with a code export? |
|---|---|---|
| Code | Lovable, synced to a repository you choose | Yes |
| Front-end hosting | Lovable | No, the new host has to be set up |
| Backend (auth, database, storage, functions) | Lovable Cloud or a Supabase project | No |
| Data and uploaded files | The backend | No, exported separately |
| Secrets and keys | Lovable or the backend settings | No, set again on the new host |
| AI features and app connectors | Run through Lovable | No, need replacements if you leave |
| Domain | Wherever it was registered | It is pointed, not moved |
Lovable’s own self-hosting page is direct about two of these: moving only the PostgreSQL database “does not move authentication, storage, realtime, or Edge Functions”, and the export includes source and migration files but not your data. A quote that only talks about “exporting to GitHub” has left most of this table out.
Three ways to scope it
1. Front end only. The app is built and served from your own host, deploying from your repository, while the backend stays on Lovable Cloud. The documentation says this is supported: the new host gets its own environment variables, server secrets and sign-in redirect addresses. Smallest job, and the one to start with if the goal is your own domain setup or deploy control.
2. Front end and backend. The backend moves to a Supabase project in your account, managed or self-hosted. Now auth, storage and functions move too, and user data has to be exported, imported and checked.
3. Full exit. Also replacing anything that still runs through Lovable, such as AI features and connectors. This is the most work, because those pieces have to be rebuilt elsewhere.
One technical detail decides the host: Lovable notes that older React and Vite apps build to static files any static host can serve, while newer apps created on its server-side framework need a host that runs server code. Ask the developer which one yours is before they quote.
What setting up a site of my own taught me
I have not moved a Lovable app. I have set up a site of my own from scratch on a repository I own and a static host that deploys on every push, and the surprises were all in the parts around the code:
- The host needs permission to read the repository. Connecting the host to my code account meant adding that repository to the host’s app permissions by hand. Until then, the host could not see it.
- The domain is a set of records, not a switch. Pointing my domain at the host took a CNAME record for the root, another for
www, a permanent redirect fromwwwto the root that keeps query strings, and forcing HTTPS. Each is a separate setting someone has to get right. - The domain carries more than the site. The same domain also holds the mail records (MX and SPF) for a contact address. A move that rewrites DNS without looking at those breaks email, not the website.
- The live host has its own rules. It redirected every
.htmladdress to a version without the extension, and a search engine’s file-based verification failed because of it (the full note). - Logins can fail quietly later. A publishing job of mine stopped for two days when the token it used for a code-hosting service was refused (the note on that). After any move, ask for a list of the tokens and logins the new setup depends on, and who gets told when one stops working.
None of that is Lovable-specific, and all of it belongs in the order.
An order block you can copy
Move scope: [front end only / front end and backend to my Supabase / full exit]. Accounts: repository, host, backend and domain registrar all in my accounts; you get access I can remove. Secrets: list every environment variable and secret the app uses, with what each is for. Set them on the new host; none in the code. Sign-in: update redirect addresses for every login provider and test each one on the new address. Data (if the backend moves): export database and stored files, import, and show me row and file counts before and after. Domain: list current DNS records before changing anything, including mail records; keep the old setup until the new one is checked. Cut-over and rollback: a written order of steps, and how to switch back within an hour if something fails. Lovable afterwards: I [do / do not] want to keep editing in Lovable. Keep the repository connected [yes / no]. Hand-back: a README on how to deploy one change myself.
Two pages explain the background a developer will assume you know: environment variables and secrets and git and version history.
The cut-over checklist
Most of these are the same checks as in the AI-built app handover checklist, run against a new address.
Who to hire and what to order first
A developer who fixes AI-built apps will usually handle a front-end move as a scoped job. For a backend move, ask in your first message whether they have moved auth and storage, not only a database. Teamseven mentions deployment fixes in its gig, and Corpsoft focuses on making AI-built MVPs production-ready; the job page has the rest. If the accounts are not yours yet, fix that first with who should own the accounts, and read before real users arrive if the app has not launched.
Where it goes wrong anyway
- Data is moved once and the old app keeps taking sign-ups. Freeze writes, or plan a second sync, before the final switch.
- The old setup is deleted on cut-over day. Keep it until the new one has run a week.
- Nobody writes down what still depends on Lovable. Ask for that list in writing even if the answer is “nothing”.
Wrap-up
Moving a Lovable app is moving the parts around the code. Decide the scope, list every account, secret and record before anything changes, test logins on the new address, check the counts, and keep a way back. Then “my own hosting” means you can run, change and redeploy it without anyone else.
Questions people ask
Can I host a Lovable app somewhere other than Lovable?
Yes. Lovable syncs your code to a repository you choose, and its documentation describes deploying the front end to other hosts. What needs planning is everything else the app uses: the backend, sign-in redirects, secrets, stored files and the domain.
Will my users' data move when I export the code?
No. Lovable's documentation says the export includes source and migration files, not your data. The database and uploaded files have to be exported separately and checked before the original is switched off.
Can I keep editing the app in Lovable after it moves?
If the repository stays connected, changes sync both ways on one branch. If the developer changes the structure, or you disconnect, editing in Lovable may stop being practical. Decide which you want before the move and write it into the order.
If you'd rather hand it off
Checked on Fiverr 2026-09-26Make an MVP production-ready
CorpsoftPro
★ 5.076 reviewsfrom $200
See gig on Fiverr →Fix a broken AI-built app
TeamsevenPro
★ 5.0358 reviewsfrom $100
See gig on Fiverr →Build an MVP with AI tools
Haseeb RPro
★ 5.0165 reviewsfrom $250
See gig on Fiverr →