How to choose a tech stack you can still run in five years
Pick tools for the product you will be running in year five: boring frameworks, a small skill set, data you own, costs at scale and upgrades on the calendar.
Most tech stack decisions get made in the first week of a project, by whoever happens to be in the room, based on whatever they used last. That is not always wrong. But the stack you pick will outlive the excitement of the launch, and the people who chose it may not be the people who run it.
The useful question is not which tools are the most modern. It is which tools you can still update, debug, hire for and pay for five years from now, when the product is real and the original team has moved on to other work.
Boring is a feature
A mature framework has already met most of the problems you are about to have. Authentication, queues, file uploads, email, database migrations and background jobs are solved, documented and argued about in public. When something breaks at night, someone else has usually written down the fix.
A new tool can be lovely to work with and still cost you later. Fewer answers exist when you search for an error. Fewer developers know it well. Its maintainers may change direction or stop. None of that shows up in a demo, and all of it shows up in year three.
Our own products run on Laravel, WordPress and Expo for React Native. They are not exciting choices, and that is the point: each has a long track record, a large community and a clear upgrade path.
Count the people, not just the packages
Every tool in your stack is a skill someone has to have. A web app with a separate frontend framework, a different backend language, a mobile codebase and a handful of hosted services can need four or five kinds of expertise to change one feature.
- Fewer languages. One main language across the backend and the admin screens means more people can fix more things.
- Hiring pool. Before you commit, check whether you could find a freelancer or a new hire who knows the tool within a few weeks, in your budget.
- Handoff. Ask whether a competent developer who has never seen the project could get it running locally in a day from the README.
If the honest answer is that only one person can work on it, you do not have a stack. You have a dependency on that person.
Own your data and where it lives
Hosted backends and all-in-one platforms make the first month fast. The trade comes later, when you want to move, change how billing works, run a report they did not plan for, or simply export everything.
Before you choose where your data lives, answer three questions in writing. Can you get a full export in a standard format, such as a SQL dump, without asking anyone? Can you run the same database on another host next week if you had to? What happens to your product if the provider raises prices, changes terms or shuts down a feature you depend on?
If you cannot leave, you are not a customer. You are a tenant.
A standard relational database on servers you control is rarely the trendiest option. It is almost always the one you can still read, back up and move in five years.
Price the stack at the size you hope to be
Many services are cheap or free at small scale and priced per user, per request, per seat or per gigabyte after that. That is fair, but it means your costs grow with your success in ways that are easy to miss when you are choosing tools.
- List every paid service. Hosting, database, email, file storage, search, error tracking, AI calls, maps and anything else with a bill.
- Find the unit. Note what each one charges for: accounts, messages, storage, compute time.
- Multiply by ten. Work out the monthly bill if you had ten times your expected first-year usage.
- Look for the cliff. Find any service where crossing a tier jumps the price sharply, and decide now whether you would replace it.
The goal is not to avoid paying for anything. It is to make sure no single line can quietly eat your margin.
Plan the upgrades before you need them
Every framework, language and library ships new major versions. Old ones stop getting security fixes. A product that skips upgrades for two or three years often faces a rewrite instead of an update, because too many things changed at once.
Check the release and support policy of each major piece before you commit. How long is a version supported? How painful have past upgrades been? Then put the work on the calendar: small, regular updates, the same way you would schedule backups. We wrote more about that rhythm in what it really takes to run a software product after launch.
Keep your own dependency list short, too. Each extra package is one more thing that can go stale, conflict with an upgrade or disappear. If a library saves you ten lines, write the ten lines.
Web, mobile or both
A native app is a second product to build, test, submit and update, with app store reviews and device quirks on top. For many tools, a fast, responsive web app covers the first year well and lets you learn what people use before you commit to more.
When a mobile app does earn its place, usually because people need it on the go, want notifications or use the camera, a cross-platform framework that shares one codebase for iOS and Android keeps the team small. Share the same backend and API with the web app, so a fix in one place reaches every screen.
What to do next
Write a one-page stack decision before any code. List each major piece, why you chose it, who on your team or nearby knows it, what it costs at ten times your expected usage, how you would export your data, and when its current version stops getting support.
Then hand the page to someone who was not in the room and ask them what worries them. If you would like a second opinion from a team that builds and runs its own products, get in touch.
Start a project