Add Database Persistence
Your app forgets everything on refresh: move state into a real database with working CRUD.
The Route
0/5 verifiedInventory unpersisted state
Find everything the app forgets - the full list, not samples.
Design models and endpoints
Give each PERSIST item a schema and API before wiring.
Wire writes to the backend
Every create/edit/delete must hit the database, not just state.
Wire reads with proper states
The UI must load truth from the backend with honest states.
Persistence QA pass
Prove the app remembers everything, everywhere.
Context Pack
Paste this first. It briefs the AI on requirements, constraints, and the Definition of Done before your first build prompt.
Paste this into your AI builder first. It teaches the AI what you want before you give it the build prompt.
Related routes
More Debugging flows that share ground with this one.
Add Loading/Error States
Eliminate silent failures and frozen screens: add loading, empty, and error states across the whole app.
+2 more steps to Done
Best foryour first pass at this - no prior setup assumed
Fix App That Looks Good But Does Not Work
The systematic recovery flow for beautiful-but-broken AI builds: audit honestly, then fix by functional priority.
+3 more steps to Done
Best forbuilders who have shipped a basic app before
Fix Broken Buttons
Hunt down every dead button in your AI-built app and wire each one to real, verified behavior.
+2 more steps to Done
Best foryour first pass at this - no prior setup assumed