You keep building in Lovable
Lovable can write your project to GitHub. Connect that repository to Hosting in Guard, and every push to your main branch goes online on its own, while every pull request gets its own preview address. Lovable stays your editor, Hosting becomes the place your app runs.
What Lovable does better: seeing your change right away in the browser, with nothing to install. You do not lose that, because you keep building there.
Mind your VITE_ variables
A Lovable app is usually Vite with React. Variables starting with VITE_ are put into your app during the build, so anyone can read them. Only put public values there, like the URL of your database API. Secret keys belong in a function or on a server, not in the browser.
infaris-guard hosting env add VITE_SUPABASE_URL --value-stdin < url.txt
infaris-guard hosting env pull # writes them locally to .env.localYour Supabase backend moves too
If your app runs on your own Supabase project, one command moves the backend: a plan first, the move after. The source is only read, never changed.
| Part | What happens |
|---|---|
| Database | Schema, data, functions, triggers and RLS policies to Postgres 17 in the EU |
| Users | Move with the same ids; passwords do not, they sign in with a code by email |
| Files | Every bucket with its rules; a public bucket stays private until you open it |
| Edge Functions | To our Functions (Deno); you set secrets again yourself |
What does not happen on its own
- Passwords and social logins do not move. Your users get a sign-in code at the same address.
- In your code you replace the Supabase sign-in with @infaris/auth-js. For data and files, @supabase/supabase-js keeps working.
- If you use Lovable Cloud instead of your own Supabase project, you do not simply have that access. Then we work out together in a call how to get your data out.
Questions
- Can I keep working in Lovable afterwards?
- Yes. Lovable writes to GitHub, Hosting builds from GitHub. In Lovable you notice nothing of the move.
- What happens to my lovable.app address?
- That is separate from Hosting. You connect your own domain to your app at Infaris; Hosting takes care of the certificate.
- What does it cost?
- You set a hard monthly limit and get notified at 50, 80 and 100 percent. What your app will cost, we work out together in a call.