Handing Your AI-Built App to a Developer Without a Full Rewrite
Turn a Lovable, Replit, or Bolt prototype into an owned system. The exact handoff package an engineer needs so they can fix rather than rewrite.
TL;DR
| Hand over | What exactly | Why it matters |
|---|---|---|
| Code access | GitHub repo under your account, invited developer, full commit history, prompt/rules files committed | Zip exports lack history and lockfiles; repo transfer loses your leverage |
| Data | Database project access (e.g. Supabase org invite) + a fresh backup taken day one | Exports never include data; backups make the handoff reversible |
| Access & keys | Developer-role invites per platform; named, revocable API keys per person; rotated secrets | Passwords are un-revocable; named keys end cleanly |
| Secrets inventory | Environment variable names + where they live, not values | Values stay yours; the engineer learns the shape, not the payloads |
| Honest state | The eight questions answered (what works, what’s fake, what’s broken) | Kills “full rewrite” quotes; the engineer prices reality, not mystery |
| Money map | Stripe, email, DNS, hosting, which account, who owns it, renewal dates | Nothing load-bearing lives only in a freelancer’s personal account |
The Problem
The prototype your team built with Lovable, Replit, or Bolt over a weekend now takes real orders, tracks real inventory, or emails real customers. It works, until you want to change something serious, hire an engineer, or simply sleep well. The founder is the bus factor: only you know where things live, and every change flows through your prompt window.
Then you hire a developer, and the first quote comes back as a full rewrite. Sometimes that quote is honest. More often (per the developers themselves) it’s the price of an empty handoff: a zip file, no history, no inventory of accounts, no list of what’s fake. The engineer prices uncertainty, and uncertainty is expensive. The fix costs a day of preparation.
What the Export Actually Contains: and What It Silently Leaves Behind
Tested and documented behavior as of late 2026:
- Lovable syncs the project to GitHub, GitLab, or Bitbucket on every plan (zip download requires paid); the sync runs two ways but handles one branch at a time: the default one. Neither the sync nor the download carries data: the database stays behind.
- Replit’s export is admirably explicit about what it excludes: secrets, the database, and deployment configuration. The code arrives; the plumbing does not.
- Independent 2026 test exports found generated code shipping without lockfiles:
npm installresolves current package ranges, so a build that worked in August may not build in December. One builder’s export didn’t even contain the running project’s generated state on a clean checkout.
Translation for a non-technical owner: the export is a starting point, not a system. The parts of your app that make it real (data, credentials, hosting wiring, reproducible builds) are exactly the parts the export leaves behind, and exactly the parts the handoff package must cover.
The Four Packages to Prepare
1. Code access and history
Put the code in a Git repository under your own account and invite the developer as a collaborator, never transfer the repository while work is ongoing. Connect the builder’s GitHub sync (Lovable) or export once to the repo (Replit/Bolt) so history starts accumulating. Commit the AI artifacts too: .cursorrules, CLAUDE.md, prompt files, the rule documents the builder generated. Six months of prompt history is documentation an engineer can actually mine.
2. Infrastructure inventory
One table, before the kickoff call. A missing row here is the single biggest source of week-one friction:
| Function | Typical home | The developer needs |
|---|---|---|
| App hosting | Lovable hosting / Replit / Vercel | Which service, plan, and who owns the account |
| Database | Supabase (most common) | Org/project invite, backup, RLS status |
| Payments | Stripe | Which account, webhook endpoints configured where |
| Resend / SendGrid | Sending domain + DNS records location | |
| Domain & DNS | Cloudflare / registrar | Who controls DNS, where records live |
| Secrets | Builder env vault / hosting dashboard | Names of variables, per environment |
3. Secrets, keys, and access
Never share passwords; grant access through each platform’s team settings instead. In Supabase, invite the developer to your organization as Developer, not Owner: they get their own login to work on schema and migrations, cannot delete the project or touch billing, and can be removed in one click when the engagement ends. Where platforms support named secret keys (such as Stripe restricted keys, Resend keys, or Supabase secret keys), create a named, revocable key per integration or contractor (jane-dev) so revocation is a single deletion. Finally, rotate every service_role or third-party secret the builder (or its chat window) could have seen: anything pasted into a prompt should be treated as compromised.
4. The honest state of the app
Eight questions, answered in one page. What is the app supposed to do? What currently works? What is broken, fragile, or fake (demo buttons, hardcoded lists, “payments” that skip Stripe)? How do you run it? Which versions and setup steps are required? Where are accounts, secrets, payments, and user data involved? What must not change yet? What outcome do you want from the developer first? Answering these is what turns “rewrite everything” into “fix these three things.”
Keep, Fix, or Rewrite: How the Triage Actually Goes
With the four packages on the table, a competent engineer triages in days:
- Keep and harden: schema is sane, history exists, the pain is auth, security, and reliability. Typical for mature Lovable+Supabase builds: add row-level security, close exposed-key holes, pin dependencies, set up CI.
- Fix in place: core logic is fine but a slice is structurally wrong (payments trusted client-side, spreadsheet-as-database). Rebuild that slice; keep the rest.
- Rewrite one layer: the UI survived but the data layer became the business’s ledger of record with no integrity. Move data into an owned database, point the existing frontend at it (see what an owned, role-gated operations backend looks like live at demo.kamensky.dev).
A full rewrite is the right call far less often than first quotes suggest, why “working” AI demos still fail in production is the failure pattern, and demo-to-production gaps are usually additions, not replacements.
The First Two Weeks With Your Engineer
Week one: audit and safety net. Fresh backup of everything, security pass (RLS, keys, auth), dependency pinning, the build running green on the engineer’s machine, before any feature work. Week two: control transfer. CI on pull requests, deploys the engineer can run without your accounts, staging separate from production. From week three, you pay for progress, not archaeology. This is the same sequence we run in taking over broken AI-built systems, and if you’re hiring externally first, what to expect from a freelance automation developer covers the engagement models.
Take the Bus Factor Out of Your Operations
An AI-built app that runs daily operations without documentation, backups, and a second person who understands it is a risk on your P&L, not just a tech debt line. Andrey Kamensky (kamensky.dev) audits, hardens, and takes over AI-built systems, including the handoff checklist above, executed for you. Start with an Operations & Data Audit for a keep-fix-rewrite verdict per module, or book a 20-minute fit call →.
Sources & further reading
- Taking a Lovable, Bolt or Replit App to Production. Fly.io: what each builder’s export carries and omits
- AI App Builders With Code Export: 4 Clean Handoffs Tested. Useful Mint: missing lockfiles and non-reproducible builds in real exports
- Handing an AI-built app to a developer: what they need from you. WhoCanFixMyApp: named revocable keys, repo access, no password sharing
- What to Include in a Lovable Handoff to an Agency. WitsCode: Supabase developer-vs-owner roles and credential staging
- How to Hand Off a Vibe-Coded App to a Developer. AI Programming Manual: the eight-question framework
- How Many Users Can a Lovable App Actually Take?: the capacity question settled properly (the backend is your own Supabase project, and the real walls arrive before the limits)
Frequently asked questions
Will a developer have to rewrite an app built with Lovable, Replit, or Bolt?
Not automatically. 2026-era builders export real code. Lovable syncs to GitHub (and GitLab or Bitbucket) on every plan, Replit and Bolt offer downloads, so most handoffs are a triage: keep and harden, fix in place, or rebuild one slice. A full-rewrite quote usually follows an empty handoff: no commit history, no infrastructure inventory, no known-issues list.
What does an AI-builder export NOT include?
Data and secrets. Lovable's GitHub sync and code download carry the codebase only, the database stays in the builder's cloud. Replit's own documentation lists secrets, the database, and deployment configuration as excluded from export. Independent 2026 test exports also found missing lockfiles, meaning builds are not reproducible until an engineer pins dependencies.
Should I give the developer my accounts and passwords?
No. Keep every account in your name and invite the developer through each platform's team settings at developer-level (never owner) permissions. In Supabase, invite the engineer to your organization as a Developer rather than sharing your login, issue separate revocable secret keys for integrations, and rotate any service_role or third-party keys the AI builder could see. Share environment variable NAMES, never pasted secret values.