Ask HN: What would be your stack if you are building an MVP today?
459 pointsSpecifically the backend. I'd love to hear your reasons. Do you keep one eye on what the stack would be post MVP?
1. Old schoolish (VPS - Maybe DO, Django/Flask/Rails/Remix/Next with postgres)
2. Supabase etc with JS/TS on either side of the network
3. Lambda/Cloud functions with Firebase/Dyanamo DB/Cosmos DB etc
4..n. What else and why?
Comments (723) 347 threads
Earlier commentsI’m wrapping up a Python project right now and my next personal project or two are going to be .Net apps of certain ambition (users, scheduled tasks, a few tables, maybe a sprinkle of real-time) so that I have some good foundations come gametime.
For the front-end I’d pick some React flavor.
Data in PostgreSQL.
Cloud provider probably AWS because it’s the devil I know but I don’t care too much.
I'm less solid on the deployment. Could go with one of the commercial docker-y hosting systems, or a commercial K8s setup, or a hand-rolled Docker host via Ansible. I've done all 3, and I'm not sold on any of them being the best for everything.
Front-end side is more flexible depending on the type of site/business. Normal ERB-style SSR is probably fine for a lot of things with a few sprinkles of basic JS. Would re-explore if I thought it needed a proper front-end app. React is neat, but darned if every single time I try to do a version bump on a small React app, I end up needing to rewrite half of it.
On top it's probably Tailwind, and if it's just me I'd use Svelte, but if it's more than just me I'd use React.
[0]: https://hasura.io
Edit: Thanks for the advice!
Pick one stack and learn it. The concepts are all transferrable.
While getting on the JS framework treadmill might get other people hired, staying server side + Bootstrap kept me sane and productive. The only place where I spent an innovation token[0] was on htmx and so far it's been absolutely worth it.
[0]: https://boringtechnology.club
But if I was just starting out trying to learn a web stack like GP, I'd say absolutely don't pick FastAPI, use Django + Postgres + Bootstrap + htmx and you'll be happy.
All comments shown.
Couldn't load more comments. Check your connection and try again.