Skip to content
← Blog

How to deploy a Lovable app outside Lovable

Move a Lovable app from GitHub to another host. Check whether your app uses TanStack Start or Vite, keep your backend working, and test sign-in before moving DNS.

floo team

To move a Lovable app, sync the code to GitHub and decide where its backend will live. A change of web host can leave your existing data and sign-in in place. A full move off Lovable also means replacing any backend features the app still calls. Lovable’s hosting and ownership guide

Check what the build produces

Connect Lovable’s GitHub integration, then clone the repository. Check the scripts and dependencies in package.json. Lovable says it started creating apps with TanStack Start on May 13, 2026. Older projects use React and Vite. Check the actual repo before picking a host. Lovable’s framework guidance

  • Vite static build. Run the production build and serve its output directory. Test a direct visit to a nested route such as /settings if the app uses browser routing. Configure the host to serve the app’s HTML for those routes.
  • TanStack Start server build. Find the output and start command for the deployment target configured in the project. On floo, package the server with a Dockerfile and listen on 0.0.0.0 at the port the host provides.

Move the web app first

Imagine an order tracker with 500 customer orders. If you leave its Supabase backend in place, the new deployment reads those orders from the same project. Set the public project URL and client key where the app’s build expects them. Set server-only credentials in the server environment. Add the new site’s callback URL to your auth provider before testing from a fresh browser.

If you use Lovable Cloud and want to move the backend as well, follow Lovable’s migration instructions. Track database records, storage files, sign-in, edge functions, and runtime AI or connectors separately. Test each one from the new deployment. A screen loading successfully tells you little about whether a checkout or password reset still works.

Give your coding tool the repo

Inspect this Lovable repo and tell me whether its production build is static Vite or needs a TanStack Start server. Trace one write, one sign-in, and one upload to the services they call. List environment variable names and mark each as public build-time or server-only. Preserve my current backend and auth for the first deploy. Prepare the web service for floo using https://getfloo.com/docs/guides/dockerfiles and https://getfloo.com/docs/cli/deploy. Run the build and preflight, then give me the checks to run on the new URL before moving DNS.

Deploy the GitHub repo on floo or talk to the founder about your Lovable migration. If you’re moving before a shutdown, use the Rocket.new export checklist for the order in which to save code, data, and domain access.

Get your app live.

read https://getfloo.com/agents.md and set me up on floo

Get an API key
Usage-based pricing. See plans →