
Make your Lovable app production-ready
Lovable gets you to a working app quickly. Before real users arrive, check what it decided for you: who can read which rows, where the keys live and what happens when something fails.
Works in preview, breaks after publishing?Free · Report in 48 hours · No call needed to start
Where Lovable apps usually need work before launch
- Row Level Security switched off on some tables, or policies that only check that someone is signed in
- A Supabase service role key or a third-party API key shipped in frontend code
- Payment and email logic that trusts the browser instead of confirming on the server
- One Supabase project doing double duty as development and production
- No error tracking, so failures only surface when a user complains
How do I make my Lovable app production-ready?
Work through these six areas. Tick what's already true: whatever is left open is where real users find problems first.
Tick what's already true of your app.
- 01
Security and secrets
In Lovable Lovable apps usually talk to Supabase straight from the browser. The public anon key is meant to be there; a service role key or a third-party API key is not, and belongs in an Edge Function.
- 02
Logins and roles
In Lovable Supabase Row Level Security policies are what actually protect the data. Check that each one tests the signed-in user, not just that a user is signed in.
- 03
Database
In Lovable A Supabase table without Row Level Security can be read through the API by anyone holding the anon key. Turn it on for every table.
- 04
Deploys
In Lovable Sync the project to GitHub so the code sits in a repository you own, and try risky changes on a copy before publishing.
- 05
Monitoring
In Lovable The preview shows that it works for you. Error tracking shows when it fails for someone else.
- 06
AI and usage costs
In Lovable Lovable credits pay for building. Your Supabase and AI provider bills grow with your users, so put limits on every AI call inside an Edge Function, where nobody can bypass them.
Works in preview, breaks after publishing?
In preview, you're usually signed in as yourself, on Lovable's preview address, with everything freshly connected. A published app meets new users, a new address and sometimes a different setup. These five checks cover most of the gap.
- 01
Auth redirect URLs
What you see: Sign-in, magic links or Google sign-in work in preview, but after publishing they send people back to the preview or a localhost address, or fail with a redirect error.
- In Supabase, open Authentication, then URL Configuration.
- Set the Site URL to the address your users should land on: your custom domain, or the published lovable.app address.
- Add every address the app runs on to Redirect URLs: the published lovable.app address, the custom domain, and both the www and non-www versions if you use both.
- If you use Google or another sign-in provider, check its settings still point at your Supabase project's callback address.
- Sign out, then test sign-up, sign-in and a password reset email on the published address.
- 02
Environment variables and secrets
What you see: Features that call other services (email, payments, AI) work in preview but fail when published, or the app shows a blank screen after you deploy the exported code somewhere else.
- List every key the app uses and where each one is read: in the browser, or in a Supabase Edge Function.
- Keys used by Edge Functions belong in your Supabase project's Edge Function secrets, not in the code. Check each one is set there.
- If you exported the code to GitHub and host it elsewhere, add the browser-side variables in that host's settings and rebuild: build tools such as Vite bake them in at build time.
- Never put a service role key or another private key in a browser-side variable. If one was ever exposed, rotate it.
- 03
Custom domain settings
What you see: The app works on its lovable.app address but not on your own domain, shows a certificate warning, or loops between addresses.
- Enter the DNS records exactly as Lovable shows them, and remove old records that conflict with them.
- Turn off extra forwarding or proxying at your registrar or DNS provider while you set it up, then wait for DNS and the certificate to take effect.
- Choose one main address (with or without www) and redirect the other to it.
- Update everything that still points at the old address: Supabase Redirect URLs, payment success and webhook addresses, and links in your emails.
- 04
Supabase Row Level Security
What you see: Data shows up in preview, but the published app shows empty lists, “permission denied” errors or other people's data.
- In preview you're often signed in as yourself or an admin. Real visitors may be signed out or brand new.
- In Supabase, check that every table holding user data has Row Level Security turned on, with policies for signed-out visitors and signed-in users as needed.
- Check each policy compares the row's owner with the signed-in user, not just that someone is signed in.
- Test with a fresh account and while signed out. Don't fix an empty list by switching Row Level Security off.
- 05
The database URL
What you see: The published app shows different data, old data or none at all.
- Check which Supabase project the app connects to: the project address in its Supabase client settings should match the project in your Supabase dashboard where your data lives.
- If you remixed the project, connected a new Supabase project or exported the code, confirm everything still points at the project you expect.
- Make sure the tables, policies and functions the app needs exist in that project, not only in another one.
- Keep separate projects for testing and for real users on purpose, and know which one the published app uses.
Still stuck, or want a second pair of eyes before launch?
The free Scan checks all of this and more. Scout, our Scan agent, maps your app and drafts the findings; a TechTose architect signs off every one, and you get a written report in 48 hours.
Start free scanWe run the checklist for you, and go further.
Send us your app, code or idea. A TechTose architect reviews it and you get a written report in 48 hours.
- Security
- Database
- Logins and roles
- Payments
- Secrets
- AI setup
- Deploy
What you get
- Summary: is it ready for real users?
- Findings by area, each rated by severity
- A prioritised fix plan: fix now, fix next, leave alone
- A 30-minute walkthrough of the findings
- Row-level security disabled on user tablesCritical
- API key exposed in frontend codeCritical
- No staging environment before deployHigh
- AI calls have no cost limit or fallbackMedium
You get the truth, whatever it is.
If your app is in good shape, we'll tell you.
If a small fix is enough, we'll show you how to do it yourself.
If it needs real work, you'll get a fixed-scope plan, with no pressure to buy.
Send us your Lovable app.
An app link or repo helps, but it is optional.
A personal reply with an honest view, even if it's 'you don't need us yet.'
Prefer to talk first? Book a callLovable apps: questions
How do I check Supabase Row Level Security in a Lovable app?
Open the project in the Supabase dashboard and look at each table: Row Level Security should be enabled, and each policy should compare the row's owner with the signed-in user, usually through auth.uid(). Then test it: sign in as two different users and try to read each other's data through the app and through the API. The Scan does this for every table and rates anything left open by severity.
Can I export my Lovable code and keep working on it?
Yes. Connect the project to GitHub and the code syncs to a repository you own. From there you, your team or we can keep developing it, with Lovable or without it, and every change can be reviewed before it reaches users.
Why does my Lovable app work in preview but not after publishing?
Usually because something is set for the preview address but not the published one. Check five things: the Site URL and Redirect URLs in Supabase Authentication, the secrets and environment variables the published app needs, your custom domain's DNS and any services that still point at the old address, Row Level Security policies for signed-out and newly signed-up users, and which Supabase project the published app actually connects to.
Why does login fail or redirect to the wrong address on my custom domain?
Supabase only sends people back to addresses it has been told about. Set the Site URL in Supabase Authentication to your main published address, and add every address the app runs on, including the custom domain with and without www and the lovable.app address, to the Redirect URLs list. Email links use the Site URL, so check that too.
Do I have to rebuild my Lovable app?
Usually not. Most AI-built apps need hardening, not a rewrite. We keep what works and fix what doesn't.
Do I have to move off Lovable?
Not necessarily. The Scan report says whether it can stay where it is. If moving is the right call, Lift moves your database, users with their existing logins, files, scheduled jobs and domains to infrastructure you control.
What do you need to start?
Tell us where you are. An app link or repo helps but is optional. Don't send passwords, API keys or customer data; if private access is needed, we arrange it separately.
Is it really free?
Yes. You keep the report either way, and if you don't need us, we'll say so.
Is this a penetration test or certification?
No. It's a production-readiness review of your app's setup, not a certification.
Guides for Lovable builders

How much does a vibe code audit cost? What you get at each level (2026)
10 November 2026Built with something else?
- CursorMake your Cursor-built app production-ready
- BoltMake your Bolt app production-ready
- ReplitMake your Replit app production-ready
- v0Make your v0 app production-ready
- Claude or ChatGPTMake your Claude or ChatGPT app production-ready