Live data from Hacker News

Ask HN: What would be your stack if you are building an MVP today?

news.ycombinator.com

441–450 of 736 posts

Re: Ask HN: What would be your stack if you are building an MVP today?

#442

Well that depends a bit on what the MVP needs to be. Anything web related I'm probably going the Elixir/Phoenix route. I'm no web dev, but this combination makes me actually kind of like doing web-things with how batteries included it is, and the tools it provides to really jump start a project. Then I'd host it "old schoolish" in a VPS or similar since that's what I know best. Might consider being fancy and investig…

Agreed Elixir/Phoenix + Tailwind is at the sweet spot of scalability, performance, and bonkers productivity. Real time? Need to go distributed? Maximize # of features / developer bandwidth? Cutting edge machine learning training & model serving? Mobile? JSON APIs and GraphQL tooling is great, but https://github.com/liveviewnative is moving fast so this stack almost has the exodia of full stack, one language, and dist…

What I like about elixir is that it feels like developing with javascript, but you're not delivering megabytes of js to the client

Re: Ask HN: What would be your stack if you are building an MVP today?

#443

Earlier quoted context omitted.

Totally agree! For almost all web-based MVPs the PETAL Stack (Phoenix with LiveView & TailwindCSS) deployed to FREE Fly.io is an epic choice for both response times, realtime features, dev speed (time to market). We're currently building our MVP with it and it's fully Open Source so anyone can learn from our journey: https://github.com/dwyl/mvp

I really wanted to like LiveView but starting from 0 in the Erlang world meant learning a whole bunch of language semantics and idioms. In fact I found it perhaps harder to get started than learning Rust, especially because the language server seemed unable to offer as rich completions compared to Rust. In the end I did manage to understand most of the primitives and concepts in the basic sample app, but it did make…

I can sympathize, it was a huge jump for me coming from C# land, and I see this sentiment repeated a bit for newcomers so it might be the nature of the beast.

I definitely wouldn't recommend it for an MVP if someone isn't already into it, but then I don't think MVPs with tight business requirements are generally a good place to explore new technology anyway. I think there's a lot of room for nuance there though.

Re: Ask HN: What would be your stack if you are building an MVP today?

#444

Personally big on Rails (use it at work every day). But, my last MVP I did with TS/Next/Mantine/Supabase/Vercel. Reasons: - I've been using Rails as an API only, so having to grok views felt like a waste. My React skills made me feel that learning how to make complex views in my backend was a waste of time. - One type of bug I hate is ensuring my API calls have the right schema. With Supabase and TS in the frontend,…

I'm glad I came across your comment, I'm planning a 2-week project for learning purposes and I thought rails backend with react/ svelte would be the fastest way to prototype. My ruby/ rails experience is very limited compared to my JS experience; I really just started experimenting with rails. I'm blown away by the magic, JS frameworks feel like toys in comparison. I also like that Rails is omakase. Based on your exp…

imo rails without react and leveraging hotwire is going to be the next big thing in web dev. react is a huge increase in complexity for not much appreciable gain. you are not facebook and don't have facebook's needs. rails is nimble by itself.

Re: Ask HN: What would be your stack if you are building an MVP today?

#445
T3 Stack (Next.js, Typescript, Tailwind, tRPC, Prisma) with Postgresql (Supabase is a good free choice), deployed on Vercel w/ Github Actions. These give you the ability to iterate rapidly and is the best choice in the market imho. https://create.t3.gg/

Re: Ask HN: What would be your stack if you are building an MVP today?

#446
post #434

Front end: Is SEO relevant? YES: AWS Lambda generating server rendered HTML behind API Gateway. NO: Vanilla React.JS app hosted on S3 Back End: AWS Lambda behind API Gateway Database: AWS DynamoDB This stack will reduce down to zero usage costs when there is no traffic and will scale up to much more than I will possibly need for anything resembling an MVP with no interference required by me.

Could you elaborate (or link to a framework) for doing the server generated HTML on Lambda?

I mean I'm literally building an AWS lambda function that outputs HTML when it's called via API Gateway. So someone hits https://mydomain.com/mycoolpage, then the MyCoolPage AWS Lambda function is executed, does database queries or reaches out to other lambda functions I've built as microservices and then outputs whatever.

If you're interested, I use https://middy.js.org/ as a middleware engine for my AWS lambda functions which I find helpful.

I use the open sourced serverless framework for doing deploys https://www.serverless.com/ though I'm probably going to move to using AWS SAM in the future.

Re: Ask HN: What would be your stack if you are building an MVP today?

#447

Earlier quoted context omitted.

Totally agree! For almost all web-based MVPs the PETAL Stack (Phoenix with LiveView & TailwindCSS) deployed to FREE Fly.io is an epic choice for both response times, realtime features, dev speed (time to market). We're currently building our MVP with it and it's fully Open Source so anyone can learn from our journey: https://github.com/dwyl/mvp

I really wanted to like LiveView but starting from 0 in the Erlang world meant learning a whole bunch of language semantics and idioms. In fact I found it perhaps harder to get started than learning Rust, especially because the language server seemed unable to offer as rich completions compared to Rust. In the end I did manage to understand most of the primitives and concepts in the basic sample app, but it did make…

Totally agree that the learning curve can feel steep learning Functional Programming style, Elixir Syntax and Phoenix framework in one go. But if it’s any consolation, our company has taken people who only JS or Python and got them fully up-to-speed in less than a week using the open/free tutorials we’ve written: https://github.com/dwyl/technology-stack HN feedback very much welcome.

Re: Ask HN: What would be your stack if you are building an MVP today?

#448
I still use my Rails + Postgres + Heroku with various gems like omni-auth, pagination etc. I have created a shell app that is a blank website with login mechanism and basic data. Anytime I have an idea, I can spin up a site within couple of days.

I was tempted about upgrading by default stack, but after lot of wise advise here, I think it's better to stay in a stack where velocity will be high rather than wasting time in learning new things (unless that is the goal)

Re: Ask HN: What would be your stack if you are building an MVP today?

#449
post #208

.NET 7 & SQLite. Because I wouldn't need anything else. Also, it could potentially be my final stack depending on the size of my business & market. The current Kestrel web server implementation is extraordinarily fast (i.e. millions of requests per second fast). Vertical scaling isn't exactly a problem now that we have 2S servers with 256 cores (and beyond).

Have you found any good managed places to deploy modern .NET apps other than Azure? My experience is you can either use Azure, in which it's fairly abstracted for you but overpriced, or you can use something like DO where it's more reasonably priced but you have to handle everything yourself.

Fly.io works great. .NET will generate the Dockerfile for you already so it's pretty easy to set it up. Fly.io will even give you a hosted PostgreSQL.

DigitalOcean's App Platform should also handle .NET apps as easily as anything else.

.NET makes it easy to get your app all set for Docker and there's a lot of platforms that will take Docker containers or even build them from your repository.

I guess I'm wondering what managed services for other languages feel more managed/easy than Fly.io or DO's App Platform taking your repository, building it, and launching it.

Re: Ask HN: What would be your stack if you are building an MVP today?

#450
About a year ago I took off maybe 5 months to create a ephemeral voice messaging mobile app (Android + iOS)

Stack:

- React Native + Expo - Typescript - Supabase - Vercel - Some Vercel/nextJS-ish lamda functions so I could avoid AWS (Supabase didn't have that kind of offering yet)

For me, it was _very_ pleasant to work in. I was able to ship features via OTA updates from idea to live in literally minutes.. sometimes even under a minute.

Loved working with Supabase.

Post reply on HN