Home Español

How do you fix a Lovable or Bolt app that fails in production?

The short answer

The preview did its job. It got you to real users. Production usually breaks in the same three places I see on products built fast with AI: a secret in the frontend, data that more people can read than should, and an action that never checks who is asking. Close those first. Then backups, and a way to know when it breaks.

Why the preview worked

Lovable and Bolt are good at a screen that runs for you, on your login, with sample data. The first real users are a different test. They are not you. They arrive together. They try the thing next to the happy path. The app was built in a hurry, and the hurry ships the same weak spots.

Close these three first

Secrets. Keys for the database, payments or email do not belong in the frontend, in a public repo, or in a prompt someone can read. Move them to a place the browser cannot see.

Who can read the data. If a table is open, one user can see another user's rows. Close that. Each person should see only what their role allows.

Actions. Creating, changing, deleting or paying has to check who is asking. A button on the screen is not a permission.

Then make it something you can run

Backups, so a bad write is not the only copy. Monitoring, so you hear about the failure from the system and not from a customer. And a short plan for when something fails: who looks, what you turn off, how you tell the people affected. I come from banking and fintech, where that last part is not optional.

What I do

I review the product end to end and leave a prioritized plan, or we fix it together. The order is the one above: secrets, who can see the data, actions that skip the permission check, then backups, monitoring, and the plan for a bad day. Building fast with AI got you here. The next step is making it hold real users, real data and real money.

How we start

A free 30-minute call. If you can, have the app open. I will tell you which of those holes I would close first.

Book a free 30-minute call

Questions

Do you rebuild the app from scratch?

Usually no. The first pass is a review and a prioritized plan. We rebuild a piece only when that piece cannot be made safe.

Is this only for Lovable and Bolt?

No. Those two are common ways a product gets built fast with AI. The same review fits other vibe-coded apps with the same weak spots.

Also