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
Show all comments
Showing thread 62 of 347
Elixir for the backend. Reasons for it:
- Elixir is designed for reliability, so since I want to keep the app alive as much as I can by myself, it seems like a great fit.
- It also has excellent integrations with Postgres (my choice of DB) with Ecto.
- I generally skipped Phoenix, as I'm just using Elixir to create my API.
- Absinthe provides amazing support to create GraphQL API from scratch.
Frontend will be React probably with Relay.
- I've been using React at my job for years with GraphQL and I'm pretty fond of it.
- I've been planning on investingating Mobx, as I've never used it but heard good things about performance there. I'm not sure if it's going to be worth using it with GraphQL
- Relay has quite a lot of boilerplate, but I found it good enough for what I'm doing, and I liked the performance. Also it's fairly easy to integrate with Absinthe.
- Generally since this project is not made to be a start up or a business first, I want to experiment on the front-end on how I could reach the best performance with these tools at hand.
- I plan on using TS with the GraphQL queries mostly generated from the schema.
For deployment I plan on using a VPS probably, though I'm way far from having to choose that.
Why specifically? Phoenix is mostly just some convenience on top of plug, but does a lot of things you'll have to reinvent.
And in my opinion, it is already past its best days. I know of several companies in my area that a few years ago chose it for building their services and ended up, or are migrating to other stacks because of their problems hiring.
This is flat out untrue.