Ask HN: If you were to build a web app today what tech stack would you choose?
131–140 of 214 posts
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#132Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#133Also, this stack is free if using vercel + supabase until you reach an BIG userbase
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#134I might be the only one in here with an answer like this, but PowerShell and the Pode framework. I am super productive with it, as much so as in any other language, and it plays nice with the rest of my stack (Tailwind, HTMX, SQLite.) I can leverage the .NET framework and C# libraries when I need to and can iterate quickly. All of this runs on the latest version of Ubuntu LTS. Obviously, this won’t work for everyone…
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#135if the passion is to learn some new tech then well, there are lots of options, i'd pick something that i haven't worked with yet.
if it is something where the passion is in the content, i would use the same old stack that i used for my last few projects. in my case that is aurelia+custom backend which is a reusable object storage and user management platform, where i didn't need to add any project specific features for some time now.
if i could not use that backend, i would pick something that makes it easy to manage objects through a REST API.
if i had to evaluate a new framework then the main thing that i would look for is the ability to minimize or avoid any dependency on build tools.
unfortunately, with the rapid evolution in frontend frameworks there is also a rapid evolution in build tools. that just adds extra effort to maintain a site for more than a few years.
without buildtools getting in the way i can maintain a site with minimal effort, and i know it will still be running in a decade from now.
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#136Django with HTMX + Alpine on the frontend. Deployed as Docker container on a cheap VPS. It's boring, time tested but by Jove, does it get the job done fast. I'm building a B2B2C marketplace in my free time and I'm blown away by the practicality of this stack. Due to longevity of Django, every problem I encounter is just a search away. DRF makes it dead simple to add REST APIs. The Admin panel is a golden cherry on to…
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#137LAMP. It can easily be maintained by a single developer. Scales well enough for a decent number of users. Huge ecosystem of components. Easy to deploy to literally any web host. Wide variety of front-end systems. If you need to scale, it can do that. Developers for it are plentiful. But you can always rewrite it in the flavour-of-the-month framework when you hit either scale or money.
For anything that is anticipated to grow beyond a very small codebase, the lack of static checkability really becomes a pain with PHP. I'm surprised that Java and modern C++ are not more popular. I know for large web applications, Java is popular in "enterprise" environments.
Java scales both up (Spring Boot, with it's many integrations) and down (Dropwizard, a bunch of popular packages, nice for simpler projects) pretty well, has a great runtime and the language itself is okay.
Also there's .NET, where everything seems to revolve more around ASP.NET and EF, but as a consequence feels less fragmented than things on the Java side. Performance is also nice (especially on Linux with Kestrel) and the tooling is nice.
Honestly, both seem a viable option for something with more typing and language guarantees, as well as on average having a bit better performance than some of the highly dynamic languages (at the expense of iteration speed early on in development).
That said, Go is probably also worth a look, the deployment situation there is way simpler.
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#138.NET 8 for the backend, and then blazor webassembly for the front end if it's complicated, or just boring old server side rendering with htmx if it's not. I've seen a lot of projects fail/struggle in golang (package ecosystem is still missing a lot of basics imo) or nextjs (very buggy). .NET has been my secret weapon. It's boring, works really well, has a good ecosystem and asp.net is really well thought through and…
Do you deploy .NET on Windows or Linux?
I feel that it's actually quite rare to run modern .NET apps on Windows Server now.
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#139Just had been thinking about this today, the current state of web development is making me seriously depressed. I would pick what I'm most comfortable with, a simple monolithic Nest.js application running Fastify, with Postgres or SQLite, Dockerized, hosted on a predictably-priced host like Hetzner, and Ansible to automate everything. I know that stack will give me plenty of headroom until I eventually need to scale…
The discussion is making me scared from another perspective. I have experience with a pretty wide variety of development. I've worked with embedded microcontrollers (minimalistic RTOS), embedded applications (on top of a proper Linux), desktop applications in Java and in C#, some C++ work, gamedev and more. But to this day I haven't touched Web apps. I have not written a line of JS and the closest I've done to modern…
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#140SvelteKit is the best combination of front-and-backend in terms of performance and developer usability that I've found.