Moving a Bolt app to Next.js and Supabase: what carries over and what does not
By Hassan Iqbal,
NestLink started as a prototype its founder built in Bolt. I led the rebuild in Next.js and Supabase over 15 weeks. It is now live on the web, iOS and Android with paying customers. Founders planning the same move usually ask what they get to keep. Here is the honest list.
What carries over
- The product itself. Every screen and flow in the prototype is a decision already made and already tested with users. We used the Bolt app as the specification.
- The proof. The prototype is why the founder knew the rebuild was worth paying for.
- The vocabulary. The names for things in the product, which the founder and her users already shared.
What does not
- The code. Generated code repeats itself and is hard to change safely. We wrote it again.
- The data model. The prototype could not keep one agency's records apart from another's. That had to be designed properly from the start.
- The login system. It was wide open and was replaced.
The decisions that mattered
One shared database, with rules inside the database that separate each agency's data. The alternative is a separate database per customer, which is more work to run and was not needed at this size.
Pages rendered on the server for the screens agents use most. An agent opening a deal in the middle of a phone call needs it on screen at once.
A second developer and a QA specialist, with every milestone tested before it was called done. Slower than pushing changes straight to live, and the reason the launch was quiet.
What I got wrong
I wrote the user roles directly into the code. Adding another role later took more work than it should have. Next time, roles are data, not code.
Should you rebuild at all
Not always. I repaired a Replit app in place because its idea had not been tested with customers yet. Rebuild when you know people want the product and the foundations cannot carry them.