Skip to content

    Vibe coding

    Lovable to production: the complete checklist

    Author

    AI Cubed

    Published

    September 9, 2026

    Read time

    11 min

    Lovable's stack is consistent — React and Vite, Tailwind and shadcn/ui, Supabase for auth, Postgres, storage and Deno edge functions — which means the path to production is consistent too. This is the checklist, in the order that keeps your users safe while you work through it.

    Each step says what to check and what "done" looks like. If you're not technical, hand this list to whoever you hire and ask them to tick it. If they push back on a step, ask why in writing.

    The checklist, in order

    1. Confirm the GitHub sync and clone the repo. Done when: you can see every commit Lovable made, locally.
    2. Run it locally with the environment variables. Done when: the app runs on your machine, not just in Lovable's preview.
    3. Enable RLS with real policies on every table. Done when: two real accounts cannot read each other's rows, and no policy says USING (true).
    4. Get the service-role key out of the client. Done when: a search for service_role in anything the browser loads returns nothing, and the key has been rotated.
    5. Set auth Site URL and redirect URLs per environment; update OAuth callbacks. Done when: magic link, OAuth and password reset work on the real domain on a phone.
    6. Capture the schema as migrations and run them on deploy. Done when: a fresh database built from the migrations matches production.
    7. Harden edge functions: secrets per environment, error responses, logging, timeouts. Done when: a failing upstream call returns a real error you can see in logs.
    8. Lock storage buckets: private, signed URLs, policies, upload limits. Done when: an unauthenticated request for a file fails.
    9. Add error boundaries, validation, empty and failure states. Done when: a bad input shows a message, not a blank screen.
    10. Tests on sign-up, the core action and checkout, running in CI. Done when: a PR that breaks checkout fails CI.
    11. Deploy from the repo to a host you control, with preview environments and rollback. Done when: you've rolled back once, on purpose.
    12. Pre-render or server-render public pages. Done when: curl on a public URL returns the content in the HTML.
    13. Monitoring and tested backups. Done when: you've restored a backup and been paged by a test alert.
    14. Every account in your name, documented. Done when: you could lock out everyone else tonight.

    Lovable-specific gotchas

    Things that catch people on this stack
    GotchaWhat happensFix
    Regeneration overwrites fixesA later prompt regenerates a component you'd already corrected.Make fixes in the repo on a branch; use Lovable for new features, review its PRs.
    Lovable Cloud vs your SupabaseThe app runs on infrastructure you don't administer.Migrate to a Supabase project in your organisation; move auth users and storage.
    Email confirmation on by defaultUsers can't log in after sign-up in production because the confirm email points at the wrong URL.Fix the Site URL and email templates; decide whether confirmation is required.
    Public bucketsUploads are world-readable because the demo needed to display them.Private buckets with signed URLs.
    SPA routing on the hostDeep links 404 on the host because there's no rewrite to index.html.Add the SPA rewrite — or move to SSR, which also fixes SEO.

    How long this takes

    Steps 3–5 in the first two or three days. The rest over two to four weeks for a typical app, with an experienced engineer. Longer if the schema has drifted far or there's a lot of public content to server-render.

    What AI Cubed does about this

    We run this exact checklist on Lovable apps: audit in two business days, then the rescue. Our own site started as a Lovable project and now ships server-rendered — see finish my Lovable app.

    Frequently asked questions

    Sources

    Start here

    See where your operation is losing time.

    Twenty minutes with an operator, not a salesperson. We'll name the one bottleneck costing you the most — and tell you whether it's worth fixing with software at all.

    Book your free 20-minute consult

    20 minutes · video call · no preparation needed