Ask HN: What would be your stack if you are building an MVP today?
541–550 of 736 posts
Re: Ask HN: What would be your stack if you are building an MVP today?
#542I'm currently making something with these for the first time. I picked sqlite because it's convenient and seems to be supported on free hosting.
Re: Ask HN: What would be your stack if you are building an MVP today?
#543Earlier quoted context omitted.
As a long time python dev, I’m now not certain why I would use python for a web app, over typescript on Next, other than familiarity. Sharing types between the server and client, and only having to manage _one_ software ecosystem is great.
Some potential reasons: 1. The data layer, if you want a high-quality ORM and migrations SQLAlchemy + Alembic (or Django ORM + its built-in migrations) are battle-tested systems that I trust will scale to large teams and not break my data . If you're more of the persuasion to write raw SQL, or to just use a SQL query builder, Python is less of a draw these days (although SQLAlchemy's query builder is quite nice and c…
Most of the queries I've done using Django can be optimized at the application code level to be fast and efficient without even touching SQL. There were a few instances at the two Django shops I've worked where we optimized one or two queries by writing raw SQL, but the number of times I've seen that in a codebase can be counted on one hand.
The SQL/stored proc method, on the other hand, doesn't come with any way to do migrations or version your database by default (AFAIK). So now you have to write migration code and come up with some kind of versioning system by hand.
Wish I had more experience with SQLAlchemy/Alembic. I've tried using it on little things here and there but since I've always known Django, that's what I usually go with.
Re: Ask HN: What would be your stack if you are building an MVP today?
#544...So - anything. Simple WordPress page with some content builder would work.
No need to invent functionality before testing out the need.
Re: Ask HN: What would be your stack if you are building an MVP today?
#545After working with the PETAL (Phoenix, Elixir, TailwindCSS, Alpine.Js, Liveview) stack at $JOB for a while now, I have to say I've never been more productive. Early on I would still have to lean on Alpine heavily for various JS interactions but with all the features Liveview has been adding and improving on (Hello JS module!) I find myself needing it less and less. Liveview really has been a game changer for me. Tail…
I second this. I would say that I am pretty advanced with Python (and Django) and same with JavaScript (Vue and Nuxt) and have written applications that got used by multiple users. I saw a sharp rise in my productivity when I knew enough about the frameworks. But Elixir + PhoenixLiveView + Tailwind has been life changing. I learned Elixir for the sake of the joy of learning a new programming language and I kept playi…
Re: Ask HN: What would be your stack if you are building an MVP today?
#546Re: Ask HN: What would be your stack if you are building an MVP today?
#547Re: Ask HN: What would be your stack if you are building an MVP today?
#548.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.
Re: Ask HN: What would be your stack if you are building an MVP today?
#549After working with the PETAL (Phoenix, Elixir, TailwindCSS, Alpine.Js, Liveview) stack at $JOB for a while now, I have to say I've never been more productive. Early on I would still have to lean on Alpine heavily for various JS interactions but with all the features Liveview has been adding and improving on (Hello JS module!) I find myself needing it less and less. Liveview really has been a game changer for me. Tail…
For anyone needing a reason to jump into Elixir, take 40 minutes and watch this talk [1] by Sasa Juric. He communicates things so well as to all the benefits of Elixir/Erlang/BEAM.
Then take the time to read Elixir in Action book (again, Sasa) and you'll be off to the races.
Re: Ask HN: What would be your stack if you are building an MVP today?
#550Rails if I want a database, Sinatra if I don't. Ruby just... wants you to be happy while you're using it. And in the long run of life, that matters. Python wants to be correct, Java wants you to not make mistakes, JS is still figuring itself out, Scala wants to do hard things... Ruby wants you to be happy. IMO - There's a lot of very worthwhile follow-on effects of that - everything from libraries (generally) being j…