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 commentsElm because then you can mostly ignore JS et. al. You can hire a normal person (anyone who can solve Sudoku puzzles) and train them up to make working web UI in a week or two. Elm makes that possible. It's like what if you could start a professional bakery with just an Easy-Bake Oven.
Elixir because it's more approachable than Erlang. Erlang (the BEAM & OTP) because it's much closer to the domain (if you're making a complex interactive multi-user kind of a thing, eh? If not then it doesn't really matter what backend stack you use.)
2. Hosted Postgresql
3. Hosted Graphql API layer microservice (like hasura)
4. Hosted hhtps server
5. Some kind of cloud storage solution
5. Load-balancer ingress
6. Some kind of CDN
Spinnable in less than day with SSL on, works perfectly for any app to scale and covers most production problems
Some off the shelf PHP8/Nginx Docker container, Laravel for the API (always pull in php/larastan for enforcing best practices), Maria for the DB, Laravel's Blade/Vue for the front, probably slap it on AWS as that's what I'm most familiar with. I like structured data, I like that modern PHP has (90%) of the safety of Java while being less verbose.
All comments shown.
Couldn't load more comments. Check your connection and try again.