zerocactusSearch guides

How to choose a tech stack for a small product without regret

Choosing a tech stack for a small product: start from your team's skills, prefer boring tools, score the options in a table and price the exit before you commit.

How to choose a tech stack for a small product without regret

Most small teams do not choose a tech stack. They inherit one from whoever wrote the first line of code, or from a tutorial someone liked, and then spend two years explaining the choice to every new hire. That is not always a disaster. But a stack is the one decision in an early product that gets more expensive every week you leave it, so it deserves an afternoon of deliberate thought before the first sprint, not a debate in month nine.

This piece is the method I use with teams of two to fifteen people. It is deliberately unexciting. You list what the product actually needs, you look hard at the people who will build it, you score a few candidates in a table, and you write down what it would cost to leave each one. The answer that comes out is usually obvious once the table exists.

Start with the product, not the tools

Before anyone says "React" or "Bubble", write half a page about what the first version has to do. Not the vision, the first version. If you already have a short requirements document, use that; if not, the structure in how to write a PRD works well enough to get the facts down in an hour.

The questions that change the stack are fewer than people think:

  • Who uses it: internal staff, paying customers, the public, or all three?
  • Does it need to work offline, or on a phone as an installed app, or is a web page fine?
  • How much data, roughly, and how relational is it? A list of bookings with customers and rooms is relational. A pile of uploaded documents is not.
  • Are there hard rules: data must stay in a given region, a client demands single sign-on, payments must go through a particular provider?
  • What has to integrate with it on day one (accounting, email, a calendar, an existing database)?
  • How long must it live? A three-month pilot and a ten-year system for a regulated client are different animals.

Everything else, such as which CSS framework or which state library, is detail that can change later without rewriting the product. Keep those out of the stack decision or you will argue about them forever.

Team skills come first

Here is the blunt part. The best stack for a small product is very often the one your team already knows, even if it is slightly worse on paper. A Laravel developer who has shipped ten projects will build a booking system faster and with fewer security holes in Laravel than in a framework they are learning from scratch, and the learning time is rarely in anyone's estimate.

So list the people. For each, write what they have shipped to production, not what they have played with. Then add who you expect to hire in the next year and what the local or remote market for that skill looks like. A stack that only one person on earth can maintain for you is a risk, however elegant it is.

This also applies to no-code. If your team is an operations lead and a designer, a visual builder they can both work in may beat a code stack that depends on a contractor. The comparison in Bubble vs FlutterFlow is a decent picture of how differently two such tools treat the same job.

AI coding assistants shift this a little, not completely. They make it faster to write code in an unfamiliar language, but somebody still has to read that code, review it and debug it at an awkward hour. Count skills by who can review, not by who can generate.

Prefer boring choices

"Boring" here means widely used, well documented, with a large pool of people who know it and a long record of being maintained. Postgres is boring. So are Laravel, Django, Rails, plain React with a mainstream framework, and the large managed backends. Boring tools have known failure modes. When something breaks, someone else has already written about it.

New tools are not bad. They are a bet. Each one you add costs a little attention, and a small team has very little attention to spare. A useful rule is to allow yourself one interesting choice per product, in the place where it gives you a real advantage, and keep everything around it plain. If the product's whole point is real-time collaboration, spend your interesting choice there and use the most ordinary database and hosting you can find.

A few signs that a tool is still a bet rather than a boring choice:

  • The documentation describes features that the code examples do not match.
  • Most answers to common questions live in one chat server rather than in searchable docs or forums.
  • Upgrades regularly break existing apps, according to the project's own changelog.
  • You cannot find anyone outside your network who has run it in production for a few years.

None of these is a deal-breaker alone. Three of them together should make you pause.

The criteria table

Now put candidates side by side. Pick three at most, otherwise the exercise turns into research for its own sake. Score each criterion from 1 to 5 and weight the ones that matter for this product. The weights are the honest part: if you claim everything is weight 3, you have not decided anything.

Here is a worked example for a small company building a room booking tool for a chain of four co-working spaces. Two developers, one knows Laravel well, the other knows JavaScript. The scores are illustrative, for this team only.

Criterion Weight Laravel + Postgres Next.js + Supabase Bubble
Team already ships it 3 5 3 1
Fits relational data (rooms, bookings, members) 2 5 5 3
Admin back office effort 2 5 3 4
Hiring pool locally and remote 2 4 5 2
Hosting and running cost shape 1 4 4 3
Exit cost if we outgrow it 2 5 4 1
Weighted total 57 47 26

Laravel wins here because one developer knows it and because an admin panel such as Filament covers the staff side quickly; the Laravel admin panel comparison explains why that matters so much for internal screens. For a different team, say three JavaScript developers and no PHP, the same table would point the other way. That is the point of doing it per team rather than copying someone else's conclusion.

Do not treat the total as a verdict. Treat it as a way to find out where you disagree. If two people score "admin effort" a 2 and a 5, you have found the conversation worth having.

Price the exit before you go in

Every stack decision should come with a short note titled "how we would leave". It forces you to look at lock-in while it is still cheap to care.

For each candidate, answer:

  1. Can we export all our data in a standard format (SQL dump, CSV, JSON) without asking anyone?
  2. Is the business logic in code we own, or in a vendor's visual editor that cannot be exported as code?
  3. If the vendor doubled prices or shut down, what would we rebuild, and roughly how many weeks would it take?
  4. Which parts are standard (Postgres, S3-style storage, plain HTTP APIs) and which are proprietary?

Open-source frameworks on a standard database usually have the lowest exit cost: you can move hosts in a weekend. Managed backends sit in the middle. Many are built on standard pieces, so the data comes out easily, but auth rules, storage policies and server functions take real work to move. The trade-offs in Supabase vs Firebase are a good example of how different two "managed backends" can be on this point.

Visual no-code builders often have the highest exit cost, because the logic lives in their editor. That is not a reason to avoid them. It is a reason to know, in writing, that leaving means a rebuild, and to decide whether the speed you gain now is worth that later bill. For a pilot that may not survive six months, it often is.

Look at the running cost shape, not a number

Do not try to predict the monthly bill to the euro at this stage. You cannot, and any number you write will be quoted back to you. Instead, describe the shape of each option's pricing: per seat, per app, by usage, by records or storage, flat hosting. Then ask what happens to that shape when your usage grows by ten times.

A per-seat tool is predictable but punishes you for adding occasional users. Usage pricing is cheap at the start and can spike with a busy month. Self-hosting has low software cost but a real staff cost, because someone has to patch and back up the server. Check the current pricing pages of anything you shortlist, and write down which line item would grow fastest.

Write the decision down

Once you have chosen, write a one-page decision record. It needs:

  • The product summary in three sentences.
  • The candidates you considered and the scoring table.
  • The choice, and the two or three reasons that actually decided it.
  • The exit note for the chosen stack.
  • The conditions under which you would revisit it, for example "if we need a native mobile app" or "if the team grows past eight developers".

Store it next to the code or in the team wiki. The value shows up later, when someone new asks why you are not using the tool they like, and you can hand them a page instead of an opinion. It also stops the team from reopening the decision every quarter without new facts.

Common mistakes I keep seeing

Picking for the CV

A developer wants to learn a framework, so the product gets built in it. Learning is good; paying for it with the only product you have is not. Give people a side project for that.

Splitting too early

Two developers do not need separate services, a message queue and three databases. A single application with one database will carry most small products a long way. You can split later when a real bottleneck shows up.

Ignoring the back office

Teams plan the customer screens in detail and forget that staff need to edit bookings, refund payments and fix typos. The internal side is often half the work. If your stack makes admin screens slow to build, that cost is real.

Choosing by demo

A tool that builds a to-do app in five minutes on a video tells you nothing about how it handles permissions, migrations or a client asking for an audit log. Test the hardest feature, not the easiest. For AI builders in particular, the AI app builder guide has a list of jobs worth testing before you trust one with real data.

A one-week way to test the choice

If the table leaves two options close, do not argue. Build the same small, ugly slice in both, time-boxed to two or three days each. Pick the riskiest piece of the product: the part with tricky permissions, or the integration with the accounting system, or the booking clash logic.

At the end, compare three things: how far each got, how readable the result is to someone who did not write it, and how much you had to fight the tool. Throw both prototypes away afterwards. Their job was to tell you something, and they will have done it.

Then go back to the decision record, fill in what you learned, and start the real build on Monday.

Stacks: Small Team Playbook

More from this stack