We UC
Back to blog
·7 min read·We UC Team

How do you hand a Lovable app to another developer?

Connect the project to GitHub, check that the database and secrets sit in an account you own, and give the new developer access to both. What each step involves and where it goes wrong.

How do you hand a Lovable app to another developer?

To hand a Lovable app to another developer, connect the project to GitHub so the code sits in a repository you own, make sure the database behind it is in an account in your name, and then give the new developer access to both. Lovable's GitHub integration creates the repository for you and keeps it in two-way sync, so the code part usually takes minutes. The harder part is everything the repository doesn't hold.

What does Lovable's GitHub connection actually do?

It creates a new repository under the GitHub account or organisation you choose and keeps it in sync with the project. According to Lovable's documentation, changes made in Lovable go to GitHub, and pushes to the active branch come back into Lovable. The repository is private by default, so nobody can see the code unless you change its visibility on GitHub.

A few details in that documentation matter for a handover:

  • A workspace owner or admin has to authorise the Lovable GitHub app first, so if someone else set up your workspace, ask them.
  • Lovable can't link an existing repository. It always creates a new one.
  • It edits one branch at a time, by default the repository's default branch, usually main.
  • If a push clashes with branch protection rules or other changes, Lovable puts the work on a lovable-sync branch for someone to merge by hand.

Put the repository under your own GitHub account or company organisation, not the personal account of whoever built the app. If it lives under their name, they are the only person who can add the new developer.

Does the repository hold the whole app?

No, it holds the code, and the live data sits elsewhere. In Lovable's Supabase integration, Supabase is the backend: it provides the PostgreSQL database, the edge functions (small server-side programs) are deployed to your Supabase project, and secrets such as API keys are stored there too. The database migrations, which are the saved steps that built your tables, are kept in the project's code under supabase/migrations/, so those do travel with the repository. Your customers' records, the stored secrets and the settings in the Supabase dashboard do not.

Lovable's documentation also describes a built-in backend that is enabled by default, so some projects never had a Supabase account of their own. If you aren't sure which you have, look in the project's settings or ask whoever built it. Where the backend is not in an account you can log in to, getting access to it is the first job, ahead of the code.

What should you hand over besides the code?

Four things, and a short list written down is enough to start with:

  1. The repository. The new developer needs access to the GitHub repository, and ideally you are the owner of it.
  2. The database and backend account. For a Supabase backend, that means an invitation to the Supabase organisation, with the right role, not a shared login.
  3. The hosting and domain. Where the app is published and where the domain name is registered, since both control whether your customers can reach it.
  4. Every outside service the app calls. Payments, email sending, analytics and anything else with its own dashboard and keys.

Invite people to each account in their own name where the service allows it. That keeps a record of who did what, and you can remove their access later without changing a password that other people use.

What goes wrong during a handover?

Most problems come from a gap between what Lovable shows you and what the repository contains. The ones we would check first:

  • Disconnecting by accident. If a project is disconnected from GitHub, syncing stops, but the repository stays with its history and the project keeps its code in Lovable. Reconnecting creates a new repository and does not reuse the old one, so you can end up with two copies of the history.
  • Edits on the wrong branch. New branches are created from the currently active branch, not necessarily the default one, so a new developer's work can start from something unexpected.
  • A missed sync. Lovable only pulls GitHub changes when GitHub sends it a notification, and if one is missed the commits won't show up until the next push.
  • Secrets in the wrong place. Keys that were pasted into the code, and not stored in the backend's secrets, are now in the repository's history. If any exist, treat them as exposed and replace them.

None of these is a reason to avoid the handover. They are the questions a new developer will ask on day one, and it is cheaper if you have the answers already.

When should someone read the code before the handover?

When the app has paying users, takes payments or holds customer data, because a new developer will inherit whatever state it is in. A written review before they start settles what is sound, what needs repair and what is risky to change, and it gives both of you the same starting point.

At We UC that review is the Rescue audit, a fixed price of £2,500 + VAT, with the fee deducted from the first phase if you go ahead with us on the fix. We need read access to your code and hosting, nothing is changed during the audit, and the report is yours either way, so you can give it to your own developer. We are a UK software company, and the main engineering team is in Southampton. Our work on Olatti, a UK business phone network, and Quenta, an app that posts receipts into Xero, is the same work: running software with real customers on it.

Common questions

Can I keep using Lovable after the code is on GitHub?

Yes. The sync runs both ways, so edits made in Lovable reach the repository and pushes from a developer reach Lovable. It helps to agree who edits where, since two people changing the same files is how branches end up conflicting.

Do I own the code in the GitHub repository?

The repository belongs to the GitHub account or organisation you created it under, and Lovable's documentation doesn't make a separate ownership statement. If ownership matters to you, for example before a sale, read Lovable's terms of service or ask a solicitor.

How long does a handover take?

Connecting the repository takes minutes. Working out what is in the database, which accounts exist and which keys are in use is the part that varies, and it depends on how the app was set up.

Can We UC take over an app built in Lovable?

Yes, that is what the Rescue audit is for. We read the code and the hosting, write down what we found, and then we fix it, rebuild only the parts that need it, or hand the plan back to you.

If you are about to hand an app over and want it read first, book a Rescue audit, or tell us what you've built and we'll say whether an audit is the right first step. Our piece on who can take over an app when the developer has left covers the same question from the other side.