Lovable to Cloudflare

Move a Lovable app to Cloudflare without treating every app as static

A Vite frontend can be a strong fit for Cloudflare's global network, but application portability depends on server behavior, functions, backend APIs and the distinction between Pages and Workers.

Pages and Workers are related but different routes

Cloudflare Pages can connect a GitHub or GitLab repository and build on every change. It asks for a production branch, build command, output directory and optional environment variables.

Applications that need server execution may use Pages Functions or a Workers deployment. Node-specific packages, filesystem assumptions and long-running processes must be checked against the target runtime.

The backend remains an independent decision

A static or edge deployment can continue calling Supabase, DigitalOcean PostgreSQL through an API, or another supported backend. Never expose direct database credentials in browser code.

Review auth redirects, CORS, storage domains, server secrets and any function routes. A successful static build can still hide broken login, uploads or API calls.

Build, preview and verify

Export the Lovable project to GitHub, inventory the repository and select the compatible Cloudflare route. Create the customer-owned project, configure its build and secret names, then deploy a preview.

stackferry verifies public reachability, redirects, metadata and application smoke tests before the production domain moves. The customer retains the Cloudflare account and direct usage bill.

Frequently asked questions

Can Cloudflare host a Lovable app?

Many exported Vite and React applications are compatible, but server functions and framework-specific runtime behavior must be assessed.

Should I use Pages or Workers?

Use repository requirements to decide. Static builds fit Pages well; server or edge execution may require Functions or Workers.

Does Cloudflare move the Lovable backend?

No. The frontend deployment and backend migration are separate choices.

Does Cloudflare deploy every Git push?

Its Pages Git integration supports automatic builds and deployments from connected repositories, with a configured production branch and preview branches.

Can stackferry estimate the Cloudflare bill?

Yes, as a planning range using current public pricing. Actual compute, requests and attached service usage determine the provider invoice.

Related guides

Material reviewed 2026-07-17. See stackferry pricing.