Ask HN: What would be your stack if you are building an MVP today?
31–40 of 736 posts
Re: Ask HN: What would be your stack if you are building an MVP today?
#32If it is a SaaS 100% Ruby on Rails Why: - has almost everything that I need usually in mature gems - battle tested in production - speed of development
Rails is the fastest development platform I've tried so far, it is predictable, well crafted, structured yet flexible. You can't go wrong with it.
Every now and then I try something new on a side project or I have to work on some other codebase for my customers, and nothing so far has tempted me to move out of rails for my serious projects
Re: Ask HN: What would be your stack if you are building an MVP today?
#33Django, in my previous role we did MVP websites for academics and the speed of getting a site up and running and deployed was just so fast. I’ve never worked with anything else that is as fast, anything like FastAPI or Flask or Express or similar either requires additional libraries to add really basic and common functionality or you have to roll it yourself. I personally don’t think that if you’re building an MVP yo…
Nowadays, Django has an amazing library which is a lot like FastAPI but in the Django ecosystem. https://django-ninja.rest-framework.com/ It's absolutely wonderful. I would use that in a MVP, and do the F/E in NextJS + Typescript.
Re: Ask HN: What would be your stack if you are building an MVP today?
#34I actually prefer Flask and SQLAlchemy, but I haven't found anything to beat Django for sheer "ten minute POC lets-do-the-show-right-here" pulling something out my arse.
Re: Ask HN: What would be your stack if you are building an MVP today?
#35If front needed then pure js or vue
Database probably sqlite or postgres if that fits the needs
Re: Ask HN: What would be your stack if you are building an MVP today?
#36Rust for the core application, Elixir for the backend, frontend, API, data layer. Javascript is pretty much non-existent, all client-side interactivity is done by LiveView.
Packaged into a podman container and deployed to a Hetzner dedicated server. Storage on PostgreSQL, probably the only thing I would rather not have to manage, but honestly single node is perfectly fine for an MVP. Provisioning is done with Terraform and Ansible.
Future expansion (pretty far away, post launch and post paying customers) is add more geo-distributed worker VPSes, talking to the central coordinator via Wireguard link.
Setup is pretty cheap, fast, scales really well, and it's easy to understand. With additional services (mail, monitoring, etc.) should be less than $100/mo all inclusive, and that should be enough for up to ~100 paying customers.
I have no plans of changing any part of this setup for the next decade. I'm too old to want to get golden handcuffed to turn key solutions and cloud products that just introduce complexity and become VERY expensive, and badly documented, past the demo stage.
Started in November, closed alpha release with users next month, launching Q2 2023.
Re: Ask HN: What would be your stack if you are building an MVP today?
#37Directus connected to a Postgres database Comes with a built-in low-config UI/API for CRUD on the database, and easily extendable with Vue.js and Express endpoints. Additionally, should the need arise for something more custom later on, all your data is in Postgres rather than a backend as a service https://directus.io/