Guide

From prompt to production: what actually has to be true first

Before an AI-built app can carry real users it needs five things: data designed to last, permissions enforced on the server, tests over the journeys that matter, a rehearsed way back, and someone accountable when it breaks.

Plutonapps Engineering2 min read

This is a sample entry. The structure is final; the full write-up is on its way.

A working prototype answers one question: is this the right thing to build? That is a genuinely valuable answer, and AI gets you there faster than any process before it. What a prototype does not answer is whether the thing can be trusted with other people's data, money, or time.

Is a prototype production-ready out of the box?

No. The distance between a demo and a product is not a rewrite — it is a list. Finite, specific, and mostly invisible from inside the prototype.

  1. 01Shape the data for the product, not the first screenTables that mirror one screen become the thing everything else has to work around. Relationships, constraints and indexes are decided once and paid for forever.
  2. 02Enforce permissions on the serverHidden buttons are not access control. Every read and write is checked where the user cannot reach it.
  3. 03Test the journeys that cost you customersSign-up, payment, the core action. Not coverage for its own sake — the paths whose failure is expensive.
  4. 04Rehearse the way backBackups you have restored, snapshots you have rolled back to, at least once, before you needed them.
  5. 05Name who answersMonitoring is only useful if it reaches a person who is responsible for acting on it.

How do I use this in practice?

Treat the list above as a gate rather than a phase. Before anything reaches a real user, each line should have a name against it — the person who checked it. That single habit is most of the difference between software that ships and software that holds.

Common questions

Does a prototype have to be rebuilt to reach production?

Usually not from zero. The intent, the screens and the decisions carry over. What changes is the foundation underneath them — data design, access control, testing and recovery.

How long does the move to production take?

It depends entirely on how much the product does. The honest answer is that scope, not tooling, sets the timeline — which is why defining scope well is worth more than any shortcut.

More on this: Production architecture & security

Built something in Lovable you want people to rely on?

We are the engineers who take it the rest of the way — secured, tested, released and supported.