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 comments1. Is this stack popular among recent similar successful products?
2. What technology will make it easier to find relevant talent?
3. Does your stack allow for rapidly changing code along with a rapidly changing team? This is important, especially in the early stages of development.
4. Are you trying to do things the Google way? Facebook might never exist had they started with C++ instead of PHP.
5. Do you want to be on the cutting edge for the sake of being on the cutting edge?
I elaborated on this a bit in my blog here if interested - https://sleeksky.com/blog/technology-stack
So you end up with a bunch of tech debt or just inefficient stack that poisons your codebase from day 1. I think the initial gain is just not worth it in the grand scheme of things.
So we always are trying to use the best possible production stack. Not overengineer - just use the best solution for the long run. Long term gains beat marginal short term benefits.
Currently our stack for a pretty small eng team is Go, React, GQL and Flutter for mobile. Works pretty well for us.
But as I said, I could be an outlier here :)
Host: VPS on OVH
Database: Postgresql
Web layer (server-side): Grails
Web layer (client-side): Javascript - probably vanilla, maybe React. Bootstrap.
Auth / SSO: Apereo CAS
Deployment automation: Ansible
CI/CD - Jenkins
Issue tracking: Bugzilla
IDE: Eclipse
DNS: Route 53
If I felt the need for dedicated micro-services for the backend, I'd use Java and Spring Boot.
If needed, possibly Apache HTTPD as a reverse proxy.
For a lot of stuff that might fall under "other", like sending email, or text messaging, yadda yadda, I'd use Amazon services: SES, SNS, etc.
For an MVP I'm not sure if I'd even bother building Docker images or not. But if/when I had to scale up, then I'd definitely package as images and deploy using Docker or K8S. At some point if the thing got traction and needed to scale Big Time™ then I'd probably go to Amazon EKS or Azure AKS.
If I needed a mobile app... well, I'm not really a mobile developer, but I've been picking at learning Flutter. So probably would continue with that.
All comments shown.
Couldn't load more comments. Check your connection and try again.