Key takeaways
- Exporting source code gives you a copy of the project. Review what must separately move or remain connected.
- Record who owns the domain, data, service accounts, signing credentials, and future deployment workflow.
- Rehearse with a test environment. Reconcile data and verify account access before moving traffic.
- Plan how to recover if the new host receives writes before a migration has to be reversed.
How do you export a Lovable app to GitHub?
Decide which organization should control the repository. Create or identify the appropriate company-owned GitHub organization, make sure the person connecting the integration can act on its behalf, and add a second authorized administrator. A personal account can be a practical place for a private experiment. A live company app needs ownership that survives staff changes.
Use the project’s GitHub integration in Lovable. Its documentation describes export and two-way synchronization for supported GitHub environments. Read the current connection instructions, select the repository owner carefully, and keep the repository private if the source should be private. Check that the project files, package manifest, and tracked configuration are present. Locate any schema or migration files and ask about their role rather than assuming the repo contains the live database. Lovable GitHub integration docs.
Record the commit used for the migration rehearsal. Have an engineer fetch that revision into a clean environment and follow the build instructions without relying on a live builder session. If it needs configuration, write down variable names and their purpose. Maintain actual secrets in an approved place where only the authorized deployment process can read them. Keep the documentation simple enough that another engineer can independently follow it.
If changes can still flow between the builder and the repo, decide which is the source of truth during the transition. Two people changing the same project through different interfaces can introduce confusion about which revision reached the new host. Agree on a branch or change freeze for cutover and document how future work should ship.
How does a Bolt or Replit export compare?
Start by finding the project’s documented source control workflow. The route to a working repository depends on the builder, plan, and what the project uses. Then inspect the runtime separately. A hosted database, file storage, or automated job may have a different owner and migration method from the source files.
| Platform or asset | Where to start | What to prove before calling the app portable |
|---|---|---|
| Lovable project | Git sync and the project’s hosting settings | The exported revision builds and you can account for each backend dependency |
| Bolt project | GitHub version-control integration | The intended repository holds the expected revision and its services can be configured |
| Replit project | Workspace version control and its Git support | The project can be run with documented commands and service accounts outside the workspace |
| Any app database | Existing service dashboard and schema or export process | A clean restore or supported reconnection preserves records and permissions |
| Files and login | Storage settings, identity provider, and domain configuration | A sample user can sign in, obtain the expected role, and open only allowed files |
Bolt documents connecting projects and GitHub repositories through its Git integration. Replit documents built-in version control and the Git workflows it supports. The platform guides tell you where to start for the source files. Your runtime checklist tells you what still needs attention. Bolt’s GitHub integration docs, Replit’s version-control docs.
A code repository and legal ownership are separate questions. Check terms and agreements about third-party code, design assets, and any licensed service before transfer. A developer can identify dependencies, while a qualified attorney can review questions about rights. Avoid disconnecting an account until the business has confirmed what functionality depends on it.
Which parts of a live app need their own plan?
Start with a list of services and the account that administers each one. For each service, choose whether to keep it and point the new host to it, replace it, or migrate it. Lovable’s portability documentation discusses deployment and hosting approaches. Use the actual project’s settings and provider guidance to determine which backend components and data need work. Lovable deployment, hosting, and ownership guide.
- Database. Identify tables, migrations, stored logic, and access rules. Test a restore or reuse the existing service where appropriate. Confirm both record counts and the behavior of meaningful records.
- Authentication. Inventory identity providers and registration, roles, invites, password recovery, and redirects. Decide whether existing users can keep their accounts through the transition or need clear reauthentication instructions.
- Storage. Include private attachments, thumbnails, and generated documents. Verify that links and access rules work after transfer, including from older records clients still use.
- Integrations. List delivery email, payment events, outbound notifications, AI services, or any partner callbacks. Decide where they point in the test and live environments.
- Domains and deployments. Document who controls DNS and certificates, what builds run, how to find logs, and who can authorize a rollback.
- Scheduled work. Record when background jobs run. Decide which system is responsible for a job during cutover so an invoice or reminder does not get sent twice.
The list can be two pages for a small internal product. A row for each asset, its administrator, where it stays or moves, and how to verify it is sufficient. Shares and invitations through the provider are a useful handoff habit. Avoid pasting production values into project tickets or onboarding notes.

How do you verify a new host before switching users?
Set up staging at the new host using the source revision you recorded and isolated credentials. Confirm someone outside the original builder workflow can deploy and verify it. Have that person follow the runbook and report steps that relied on private knowledge. Good hosting notes answer how to build, where configuration lives, what counts as a healthy app, and how the business gets help.
Start validation with the work users rely on. Test a familiar account with its authorized role, a representative record or order from start to finish, and a normal failure such as an unavailable email service. If the application has multiple organizations or roles, check with representative synthetic accounts that each can only reach allowed records. For transferred production data, use an approved reconciliation process in the appropriate environment. Confirm how data introduced during the final sync will be checked.
Add a few browser and phone checks. Test the main domain name and any redirects on a safe hostname. Verify sign-in callbacks and normal links users receive by email. Check whether a planned domain change affects links in documents or a mobile build, since a running browser test may not cover those older links. Ask the support owner how they will identify the affected version if a customer reports a problem later.
Artemesis is a Bangladesh-based team that works remotely with U.S. businesses. If the app is already in use, book an app migration consultation. Bring the builder and service list so we can help identify which decisions matter before a cutover.
When should you switch the domain?
Move live traffic after the rehearsal passes, the support owner is available, and you have an agreed plan for what happens to new writes during the move. Some apps can share the same managed data service before and after cutover. Others need a read-only window or a final controlled synchronization. Ask what would happen to a new order or document created just after the switch if you had to go back to the old host.
Write down who has authority to make that decision and which observations would trigger it. A small app might watch login attempts, order confirmations, and pending background jobs during a low-traffic window. Include any third-party service whose callback needs to point to one host at a time. Check certificate availability, redirects, and customer-facing service status with the standard public address after the change.
Keep access to the old environment only as long as you need it for an agreed fallback and reconciliation. After the owner approves closing it out, follow the retention and account-removal plan. Confirm that ongoing billing, monitoring, and credential rotation now belong to the business. Finish with a handoff demonstration so the owner can contact the right provider without depending on the original builder account.
Example scenario, not a real client. A contractor has a Lovable-built scheduling tool and wants a staff developer to maintain it from a company repository. The team keeps the existing managed database with a compatible login configuration and changes the website host. In staging, staff discover that emails still use a link tied to the old host. They adjust the email template, verify links on a phone, and confirm a rescheduled job appears on both staff screens. During the switch they stop the old reminder job before starting the new one. Keeping one database makes record reconciliation simpler, but they still verify the latest appointments from both before and after the move.
When does a migration become a rebuild?
It becomes a rebuild when the required product behavior depends on facilities you cannot operate at the new home without replacing important parts. Ask the engineer to demonstrate what works using the exported files and what fails without a managed service. They can then compare retaining that service, substituting a supported provider, and rewriting the specific layer. Choose the move that protects the work people already trust.
A limited migration often has a clearer scope. Keep the appointment reminders where they are until you have tested the new host, or move the public app first while a staff console remains in the original environment. Track which accounts and data each arrangement requires. Choose a later date to review whether maintaining two environments still makes sense.
See vibe code cleanup deliverables, prototype vs production app readiness, and what an AI-generated code audit checks for related handoff decisions. The vibe code rescue and production launch service covers practical release and handoff work.
Frequently asked questions
Can I export the source without changing where the app runs?
Yes, when your builder supports a separate repository connection. First confirm the new copy is readable by the right people and that you understand whether changes can synchronize back to the hosted project.
Does exporting code include user accounts or uploads?
Treat accounts, database records, and files as separate dependencies. Verify what the platform can export and whether your destination can use it. Include permission rules and account recovery as part of the verification.
Can I keep my domain after moving hosts?
Usually, if the business has control of the registered domain and can update its DNS. Check where mail, service callbacks, and app links depend on the same domain before making changes.
Will users have to create a new account?
That depends on whether you retain the existing identity provider and how account credentials can be migrated. Test with authorized representative users. Prepare a clear account recovery route if sign-in needs to change.
What if I cannot shut down the old host because it still has data?
Identify what must be reconciled and who can access each environment. Decide which system becomes the record of reference for new work. Use a documented plan to remove the old environment when the business approves it.
Share the builder and live workflow with Artemesis if you want help scoping a migration.
