Choosing a full-stack stack
Pick a stack for Taskboard by asking what you can run, hire for and change later. A short decision method, plus the choices this roadmap makes and why.
Choosing a full-stack stack
The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.
Not started
What you'll learn
- No stack is best in general; a good one fits your team's skills, your app's needs, and how hard it is to change later.
- Choose boring, well-documented technology for the parts that are not your product, and spend your risk budget on what is.
- A stack is a set of layers, and the cost of a wrong choice differs: a database is hard to swap, a CSS library is easy.
- Using one language on both sides, such as TypeScript, lets the client and server share types and validation.
- Write down the choice and the reason in a short decision record so you can revisit it when the facts change.
The wrong question
“What’s the best stack?” has no answer, because “best” depends on who is building what. A team of four who all know Python and need to ship in six weeks has a different best stack than two JavaScript developers building something with live updates. The useful question is smaller: given what we have and what we need, what would we regret least?
Four questions to ask
1. What does the app need? Taskboard needs a relational database (projects own tasks, tasks own comments), user sign-in, file uploads, and a UI that updates without reloading the page. It does not need to handle millions of users on day one. That points to boring, mainstream choices. The backend roadmap’s relational versus NoSQL lesson explains why this data wants tables.
2. What can the team run? A stack you can debug at 2am beats a stack that looks better on paper. Skills count more than benchmarks. If nobody knows Rust, the speed of a Rust server is a rumour.
3. How hard is each choice to undo? Not every layer costs the same to change. Rank them:
| Layer | Cost to change later | Why |
|---|---|---|
| Database | High | It holds the data, and every query depends on its schema |
| Language and runtime | High | Everything is written in it |
| API style (REST, GraphQL, RPC) | Medium | Clients depend on it |
| UI library | Medium | Rewriting components is slow but contained |
| ORM, validation library | Low to medium | Sits behind your own functions |
| Styling approach | Low | Mostly local to components |
Spend your thinking time at the top of that table and be relaxed at the bottom.
4. Where is your risk budget? Every new or exciting piece costs you learning time and surprises. Spend that budget on the part that makes your product different, and choose dull, documented tools elsewhere. A task board’s product is the board, not the choice of web server.
The choices this roadmap makes
| Layer | Choice | Reason |
|---|---|---|
| Language | TypeScript, client and server | One language means shared types and validation |
| Client | React with Vite | Large ecosystem, and the SPA split keeps the seams visible |
| API | Hono on Node | Small, typed, and easy to run in a test with no network |
| Database | Postgres | Relational data, strong constraints, widely hosted |
| Data access | Drizzle | SQL-shaped, typed queries |
| Validation | Zod | One schema for runtime checks and static types |
Nothing here is the only sensible answer. Choosing a frontend framework, choosing a React framework and choosing a backend language and runtime each cover one layer’s options in depth. What matters here is that each pick comes with a reason you can state.
The one-language advantage, shown
The strongest argument for TypeScript on both sides is concrete. I made a small workspace where one package defines a Zod schema and both the API and the client import it. Then I wrote client code that sends a task with the wrong shape:
await createTask({ projectId: "1", title: "x", status: "finished" });
The compiler caught both mistakes before anything ran (TypeScript 7.0.2):
error TS2322: Type 'string' is not assignable to type 'number'.
error TS2322: Type '"finished"' is not assignable to type '"doing" | "done" | "todo" | undefined'.
With a Python server and a TypeScript client, that check does not come for free. You can still get it by generating types from an API description, which is the subject of end-to-end type safety. One language just makes it cheaper.
Write the decision down
When you choose, write a short decision record: a half-page file in the repo.
# 0003 — Postgres for Taskboard
Decision: Postgres, hosted.
Considered: SQLite, MongoDB.
Why: relational data, constraints, team knows SQL.
Revisit if: we need multi-region writes.
The “revisit if” line is the part people skip, and it is the useful one. It turns a decision from a verdict into a bet with a stated condition for changing your mind.
Choices that look neutral and are not
A few traps:
- Choosing for the résumé. A tool you want to learn is a reason to use it in a side project, not in the one your team depends on.
- Choosing for the scale you hope for. Picking a microservice architecture for an app with no users is paying for a problem you don’t have. Monolith versus microservices is worth reading before you do.
- Choosing a database because it is fashionable. The relational model fits more apps than people expect.
What the video covers
Arjay McCandless’s “How to pick the right tech stack EVERY time” is under seven minutes, published in June 2026. Its description says picking a stack is one of the most important decisions at the start of a project and that it is easier once you understand what is out there. It also carries a promotion for the creator’s system design practice app. I could not read a transcript, so I can’t say which stacks or criteria the video names. Train To Code’s longer “Ultimate Guide to Choosing a Tech Stack” is linked as a second view; its description argues that there is no universal best stack, only a best fit for the requirements.
Where this fits
You have a stack and a reason for each layer. A stack is only useful once you know what to build with it, and the next lesson turns a vague idea into a plan you can start on: from requirements to a buildable plan.
Check yourself
Why is 'what is the best stack' the wrong first question?
Because the answer depends on your team's skills, your app's needs and your deadline. A stack that is great for one team can be slow and risky for another.
Which layer of Taskboard is most expensive to change after launch, and why?
The database, because it holds the data and every other layer's code depends on its schema, so migrating means moving data as well as code.
What is the main practical benefit of TypeScript on both client and server?
The two sides can share types and validation schemas, so a change to the shape of data is caught by the compiler on both sides.
What goes in a decision record?
The choice, the options you rejected, the reasons, and what would make you reconsider, written briefly so a later reader sees the context.
Go deeper
Notes
Notes are saved to your account.
Everything else on this page works without one — progress and bookmarks keep themselves in this browser and come with you when you sign in. Notes are the one thing worth not trusting to a browser you might clear.
Your notes could not be loaded.