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 commentsNode.js, express.js, Typescript for the "central command" server that acts as any client's first port-of-call.
Central command fans out to whatever tech is required for the job. Very typical for me is fanning out to various python Flask servers to do ML/image proc/etc. work or connect to GBQ.
PostgreSQL for persistence because it's pretty much the undisputed pereto-optimal solution: solves 80% of problems with 20% of the effort. Does almost everything you need until you get to the big scales, which by then you can afford to just pay the wizards to do the Cassandra, Dynamo, Redis, haskell, etc. magic
This has done my team very well for years.
You can also run a Go FastCGI server to deal with whatever you don’t want to put in PHP (jobs, complex business logic, performance sensitive logic, etc. )
For me that's Laravel mixed with raw PHP (a fantastic and high performance language that has proven itself for a long time with some of the most popular sites on the internet), running on a cloud platform that requires literally the lowest amount of devops possible, so maybe Heroku but more likely Google Cloud's AppEngine or CloudRun. Frontend I personally would use raw JS with JQuery for convenience and compatibility. Probably Twitter Bootstrap for styling etc.
Result of all that is a quick well functioning and reliable site or service.
[1] https://github.com/cheatcode/joystick
[2] https://cheatcode.co
All comments shown.
Couldn't load more comments. Check your connection and try again.