Ask HN: If you were to build a web app today what tech stack would you choose?
1–10 of 214 posts
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#2If I had to get more people involved and have it scale I might go to Flask but might also go to a Java-based backend as it really has the best ability to use threads and parallelism.
As for HTMX I like it but I think there could be something similar but a little more feature risk, for instance my app has a lot of tables and tools that make it easy to add client-side sort buttons would be nice. If I had more people working on it I could see using a react-a-like system as well.
The database is arangodb which I love for rapid prototyping but if it had to be really reliable the first thing I would look at is postgres.
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#3Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#4Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#5For the former, I tend to reach for the tech stack that I've spent years working in and can very quickly spin up projects in. This is heavily specific to your background, but for me:
- Frontend: React, vite, react-router, Chakra UI.
- Backend: Node.js + Express
- Database: PostgreSQL
- Scheduled jobs/ML/data processing: Python
- Deployment/Infrastructure: Docker, docker-compose, AWS EC2 or Lightsail, Digital Ocean droplets, Netlify, Render
For the latter, there are lots of potentially better options, whether that's server-side rendering, serverless functions, etc. (Next.js, fly.io, supabase, are a few examples) and again depends on your industry.
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#6Most of what you need to get something functional and not totally ugly, not a lot that you don’t.
Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#7Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#8Re: Ask HN: If you were to build a web app today what tech stack would you choose?
#9For a website, it'd be Go + HTML/CSS (sprinkling JS where needed). Here's why: (1) Code will "just build" years later (2) Deployment is stupidly easy -- just build to a single binary with all resources embedded (3) Everything about the stack is stable and easy to reason about. Though perhaps not exciting.
For a "web app", I feel there are no great options. The half life of the JS ecosystem is about 5 minutes, so whatever you start with will be out of fashion shortly after. React has had some staying power, though isn't without its flaws. I generally feel like most "web apps" could actually be websites though.