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 commentsFirebase is too expensive. Only use case if you have only front end devs.
Dynomo/Mongo/Cosmos all do the same niche thing - you don't need a no-SQL db for most apps.
4. Apparently a lot of YCombinator companies still use Rails. I don't really understand why.
edit: I didn't know about Supabase - thanks.
It's boring but it works. It also scales as far as your wallet can handle.
With this setup you can permanently host for next to nothing until you get users, do zero devops or ops, and have something that will scale up (wont be the fastest thing but it will be OK and will scale)
You could switch out NextJS for a static site generator too, but NextJS is pretty convenient and is a superset of a static site generator with everything wired up nicely using React.
https://github.com/learn-anything/learn-anything
Reasoning behind the stack is that I feel productive in Solid and it's plenty fast on first load and as SPA when fully loaded. I love the component model and JSX.
ChiselStrike is new to me but I was looking for something that lets me declaratively manage my schema. I checked https://entgo.io (it produced too many Go files to my liking), also Prisma (https://www.prisma.io), found it bit complex to get started with.
I also checked https://www.edgedb.com and it's nice but with ChiselStrike I can deploy it with LibSQL (fork of SQLite) and replicate it so responses should be plenty fast and I can build on top more easily.
For native apps will use SwiftUI composable architecture when it comes to it. React Native code sharing seems nice but Solid doesn't have a React Native alternative yet sadly.
All comments shown.
Couldn't load more comments. Check your connection and try again.