TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What is your go-to stack for the web?

38 pointsby federalbobover 1 year ago
Going back to the web after 10 years, I&#x27;m summoning the HN wisdom.<p>What is your go-to stack for a classic business web site ? for a Saas ? for a landing page ? for [whatever you do here] ?

55 comments

assimpleaspossiover 1 year ago
I ran a web dev business for 20 years. It includes two sites you probably have visited and bought things from. We used HTML for HTML. CSS for CSS and Javascript for Javascript.<p>Then we used a common and popular programming language to make them all work together.<p>It was compatible with everything. Worked everywhere. Interfaced with everything. And was as fast as hell.<p>No additional thinking or learning required.
评论 #39312980 未加载
nasirover 1 year ago
Django: function based views.<p>UI: Django templates, htmx, tailwind, vanilla js or hypersceript, no build, no node, no npm. Avoiding writing js as much as possible.<p>Background workers: RQ with 3 priority queues<p>Deployment: Kamal one command deployment with underlying docker<p>Hosting: Linode server with backups<p>Storage: Mounted volume on the machine (maybe s3 eventually).<p>Benefits:<p>* High speed of iteration<p>* No boilerplate mess<p>* No build therefore no dealing with dependencies and npm rabbithole<p>* Fast deployment with Kamal (a bit of learning curve but once up just works)<p>* Much cheaper compared to PaaS. At least 50%.<p>* Multiple websites on the same instance<p>Of course I know django quite well so the goal is to remove as much friction as possible.
toredover 1 year ago
For web PHP.<p>PHP has many stable frameworks if you are in to that and if you don&#x27;t want to use a framework you can run vanilla PHP without a problem.<p>Dependency management is done these days with composer and it is easy add a dependency, like framework or library, from composer.<p>PHP has has lot of good tooling like IDEs, linters, testing etc.<p>Here is a short intro to PHP I wrote a few years ago.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25222509">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25222509</a>
throwaway94_30over 1 year ago
I pick what I know best and &quot;just works&quot; because of my experience and the framework&#x27;s maturity. YMMV<p>Backend: Spring Boot (Java or Kotlin depending on solo vs cooperation)<p>Frontend: React (&quot;<a href="https:&#x2F;&#x2F;hilla.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hilla.dev&#x2F;</a>&quot; looks interesting, might try that next)<p>Database: Postgres
评论 #39315062 未加载
vedranmover 1 year ago
These days I am doing HPC software development, so not much web development. Over the last few years I used to work as a senior lecturer and then a junior professor at a university, where my group worked with web tech quite a bit.<p>We used PHP&#x2F;Laravel for developing a scientific SaaS prototype [1] and Python&#x2F;Django for teaching web application development [2]. For documentation (including teaching materials, blogging), we had a preference for static site generator (Jamstack) solutions: we used Sphinx and later switched to MkDocs [3, 4].<p>[1] <a href="https:&#x2F;&#x2F;group.miletic.net&#x2F;en&#x2F;publications&#x2F;#2021" rel="nofollow">https:&#x2F;&#x2F;group.miletic.net&#x2F;en&#x2F;publications&#x2F;#2021</a><p>[2] <a href="https:&#x2F;&#x2F;group.miletic.net&#x2F;hr&#x2F;nastava&#x2F;kolegiji&#x2F;PW&#x2F;#vjezbe" rel="nofollow">https:&#x2F;&#x2F;group.miletic.net&#x2F;hr&#x2F;nastava&#x2F;kolegiji&#x2F;PW&#x2F;#vjezbe</a><p>[3] <a href="https:&#x2F;&#x2F;group.miletic.net&#x2F;en&#x2F;blog&#x2F;2017-07-29-why-we-use-restructuredtext-and-sphinx-static-site-generator-for-maintaining-teaching-materials&#x2F;" rel="nofollow">https:&#x2F;&#x2F;group.miletic.net&#x2F;en&#x2F;blog&#x2F;2017-07-29-why-we-use-rest...</a><p>[4] <a href="https:&#x2F;&#x2F;group.miletic.net&#x2F;en&#x2F;blog&#x2F;2021-08-16-markdown-vs-restructuredtext-for-teaching-materials&#x2F;" rel="nofollow">https:&#x2F;&#x2F;group.miletic.net&#x2F;en&#x2F;blog&#x2F;2021-08-16-markdown-vs-res...</a>
whodevover 1 year ago
I&#x27;ve been using Go, HTMX, Alpine.js, and Turso.<p>So far I&#x27;ve been loving it. Simple and easy to get started with. Everything works so well togther and is really easy to deploy as a single executable which can include any asset files with the `&#x2F;&#x2F;go:embed` directive.
lgeorgetover 1 year ago
PHP and Symfony for the backend, Bootstrap for the frontend. Very classic. DB is MariaDB and Cassandra.<p>We also have many internal tools in R&#x2F;Shiny.
mrcsharpover 1 year ago
I use .Net &amp; C# for backend development and Vue or Blazor for Frontend. .Net has great tooling that won&#x27;t get in your way as you work on the project. C# has added lots of great features and is blazing fast nowadays with every .Net release being accompanied by a massive blog post describing all the performance improvements to the runtime[1].<p>[1] <a href="https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;dotnet&#x2F;performance-improvements-in-net-8&#x2F;" rel="nofollow">https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;dotnet&#x2F;performance-improvemen...</a>
jasfiover 1 year ago
Next.js + PostgreSQL.<p>I also use Nim for when I need high-performance code, which can be utilized as a Node.js add-on using Denim.
rambambramover 1 year ago
Mine is the CHAMP-stack. Consisting of CSS, HTML, Apache, MySQL and PHP.
评论 #39315551 未加载
评论 #39313150 未加载
Zanfaover 1 year ago
Rails for SaaS&#x2F;CRUD, haven’t done anything semi-static in a while, but would probably go with Webflow.
thunderbongover 1 year ago
Roda: Routing Tree Web Toolkit fur Ruby [0].<p>Sequel: The Database Toolkit for Ruby [1]<p>Front end could be anything including no javascript. Roda makes it very easy to either write APIs or server rendered partials.<p>I love the simplicity, clarity and performance of this stack.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;jeremyevans&#x2F;roda">https:&#x2F;&#x2F;github.com&#x2F;jeremyevans&#x2F;roda</a><p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;jeremyevans&#x2F;sequel">https:&#x2F;&#x2F;github.com&#x2F;jeremyevans&#x2F;sequel</a>
taconeover 1 year ago
I&#x27;m playing with Sveltekit + Trpc Backend + DrizzleOrm + Postgres. I am using plain Javascript + JSDoc and Typescript checking.
评论 #39314498 未加载
miroljubover 1 year ago
Clojure using for the server side <a href="https:&#x2F;&#x2F;github.com&#x2F;kit-clj&#x2F;kit">https:&#x2F;&#x2F;github.com&#x2F;kit-clj&#x2F;kit</a><p>htmx for frontend, using the built-in kit htmx module.<p>Previously I used Clojure, re-frame and websockets using sente. It is very productive, but now I prefer the lightweight feeling of htmx.
chr15mover 1 year ago
Full stack ClojureScript on Sitefox with either Sqlite or Postgres, deployed to a VPS with Piku.
almostover 1 year ago
Django because in a word of constantly changing frameworks and approaches it’s nice to have something solid. New versions add improvements but Django is basically still the same as it has been for almost 20 years. It’s really fast to build things with as well and the Admin is amazing (just don’t try to overuse it).<p>Recently HTMX has been a really nice addition, adding some fanciness without writing more JS.<p>Some bits are just easier to do as full on JavaScript components and for those I use React because I know it and it does the job. Just for bits though (often as small as one component in a otherwise vanilla Django form), SPAs are a pain to write and maintain.<p>I have a SaaS so that’s mostly what I’m doing.
BerislavLopacover 1 year ago
For pure APIs: pyapi-server [0]. For classic Web sites: Starlette [1], with SQLAlchemy Core [2] for database integration. Or, if you prefer something with more batteries included, FastAPI [3].<p>[0] <a href="https:&#x2F;&#x2F;pyapi-server.readthedocs.io" rel="nofollow">https:&#x2F;&#x2F;pyapi-server.readthedocs.io</a><p>[1] <a href="https:&#x2F;&#x2F;www.starlette.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.starlette.io&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;docs.sqlalchemy.org&#x2F;en&#x2F;20&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.sqlalchemy.org&#x2F;en&#x2F;20&#x2F;</a><p>[3] <a href="https:&#x2F;&#x2F;fastapi.tiangolo.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fastapi.tiangolo.com&#x2F;</a>
sotixover 1 year ago
My personal website uses SvelteKit to glue together HTML, css, and a small bit of JavaScript. Most of the website could easily be extracted and deployed on its own or in another framework. I use Svelte primarily to provide a common nav bar across routes and to execute JavaScript that bundles my blog posts to display by date. I enjoy designing my pages by hand, so I prefer this setup to a static site generator. I vastly prefer it to using something like React. I do want to simplify the setup, but it works well for now.<p>If I were working on a website that needed a backend, I would use htmx and either flask or Django.
threeseedover 1 year ago
I&#x27;ve tried so many and still love Scala.js + React &#x2F; Scala.<p>One language, one tooling, one set of models etc across the entire stack is just so much nicer.<p>And you never have to worry about performance, scalability or lack of libraries.
INTPenisover 1 year ago
Landing page and a business website can most likely be static, so AWS S3, Cloudfront, ACM, maybe a little lambda if necessary.<p>Services I tend to start with Flask, Celery, redis and build from there.
irjustinover 1 year ago
Pick what you know if you&#x27;re going to build for a business. Me? Rails, Django and Postgres on AWS. Nowdays, Django on Lambda.<p>If you&#x27;re building for fun, whatever you want!
mklover 1 year ago
There are a ton of past threads on this, many valuable, and some huge. You can find them by searching [Ask HN web] (or stack or framework, etc.) in the search box at the bottom. Here are some decent-sized ones going back to 2016, but there are many more. I figure if something is recommended a few years ago and also recently, it&#x27;s probably good, stable, and well-documented.<p>Ask HN: If you were to build a web app today what tech stack would you choose? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38059036">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=38059036</a> (92 points by russianbandit 3 months ago | 208 comments)<p>Ask HN: What does your self hosted stack look like? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37164315">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37164315</a> (52 points by LorenDB 5 months ago | 41 comments)<p>Ask HN: Which stack is as boring (good boring) and cheap in 2023 as PHP? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35112481">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35112481</a> (38 points by alentred 11 months ago | 46 comments)<p>Ask HN: What would be your stack if you are building an MVP today? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34530052">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34530052</a> (459 points by nvln on Jan 26, 2023 | 727 comments)<p>Ask HN: Solo Dev Stack of 2022? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33046696">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33046696</a> (40 points by jstummbillig on Oct 1, 2022 | 81 comments)<p>Ask HN: Help me pick a front-end framework <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32799003">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32799003</a> (141 points by bjackman on Sept 11, 2022 | 177 comments)<p>Ask HN: Web frameworks – which less popular frameworks are you using and why? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31607256">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31607256</a> (84 points by vanilla-almond on June 3, 2022 | 147 comments)<p>Ask HN: What tech stack would you use to build a new web app today? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29626371">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29626371</a> (48 points by gt565k on Dec 20, 2021 | 73 comments)<p>Ask HN: Which tech stack is the most fun? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29625165">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29625165</a> (100 points by chickenWing on Dec 20, 2021 | 184 comments)<p>Ask HN: Simplest stack to build web apps in 2021? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29311761">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29311761</a> (99 points by yblu on Nov 22, 2021 | 188 comments)<p>Ask HN: Which stack for prototyping? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26851533">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26851533</a> (57 points by tbronchain on April 18, 2021 | 99 comments)<p>Ask HN: Fastest&#x2F;easiest framework to build a web application in 2020? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22161880">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22161880</a> (77 points by ryanSrich on Jan 27, 2020 | 89 comments)<p>Ask HN: What tech stack would you choose for building your next app? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21807469">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=21807469</a> (39 points by _fwu1 on Dec 16, 2019 | 52 comments)<p>Ask HN: Go-to web stack today? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18829557">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18829557</a> (542 points by capkutay on Jan 5, 2019 | 443 comments)<p>Ask HN: What stack would you use to build a CRUD web app in 2018? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16508965">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16508965</a> (189 points by xstartup on March 3, 2018 | 178 comments)<p>Ask HN: What tech stack would you choose for a serious, long-term business app <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16763981">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16763981</a> (44 points by bballer on April 5, 2018 | 78 comments)<p>Ask HN: Which stack do you use at your startup? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16390851">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16390851</a> (88 points by xstartup on Feb 16, 2018 | 126 comments)<p>Ask HN: What language&#x2F;framework do you plan to use in your next project? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14864389">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14864389</a> (119 points by _pfxa on July 27, 2017 | 258 comments)<p>Ask HN: Starting a project today, which web framework would you use? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14391951">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14391951</a> (94 points by betimd on May 22, 2017 | 155 comments)<p>Ask HN: What web framework do you use? Why did you choose it? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13254051">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=13254051</a> (71 points by moraya-re on Dec 25, 2016 | 118 comments)<p>Ask HN: What is a “boring” web stack? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12866695">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12866695</a> (51 points by stevetodd on Nov 3, 2016 | 48 comments)<p>Ask HN: What are the best web tools to build basic web apps as of October 2016? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12774616">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12774616</a> (114 points by arikr on Oct 23, 2016 | 82 comments)
评论 #39313077 未加载
oaxacaoaxacaover 1 year ago
Frontend:<p>- &quot;vanilla&quot; React (no Next.js or any other framework-y bloat)<p>- MUI<p>- React Router (v5 because v6 is a pain)<p>Backend:<p>- Node<p>- Typescript<p>- Express<p>- Prisma or Sequelize<p>- Sometimes Django&#x2F;DRF in lieu of the above<p>- MySQL or Postgres<p>Deployment:<p>- KISS principle: one Digital Ocean droplet, no serverless or any of that
czechdeveloperover 1 year ago
BE: .Net minimal API, Entity Framework (SQLite or PG as database) FE: React + Tailwind and few other libraries
apricot13over 1 year ago
JavaScript (react&#x2F;nextjs&#x2F;eleventh) if it&#x27;s a small project and I want to get it up and running quickly.<p>CSS or SCSS depending on complexity<p>If it&#x27;s something that needs logins or more common features I&#x27;ll usually switch to rails it just gets all the tedious stuff out of the way!
gregnavisover 1 year ago
I love vanilla Rails (that includes Hotwire) + Postgres + Heroku + Tailwind. I do often use Rubocop and some other rolling, and want to package that as a project starter kit.<p>I’m looking forward to seeing Rails 8 in action, as is going to make building PWAs easier.
truckerbillover 1 year ago
Mithril and xstate if it’s needed. Backend plain Go or Bun.<p>I don’t know why more people don’t use mithril
grigaravover 1 year ago
Front-end: A few static sites (i.e. landing page) + Angular. Back-End: A few C# APIs with Redis for caching. Database: MongoDB + SQL Server. Deployment: Docker Containers on Azure via DevOps Pipelines (one-click deployment).
ssss11over 1 year ago
Backend: Node with sqlite, Postgres or MySQL. Front: Vue with Bootstrap
JohnDeHopeover 1 year ago
I&#x27;ve moved everything to ASP.Net Core Blazor. I&#x27;ve been developing web apps on Microsoft&#x27;s stack since Wrox&#x27;s ASP 3.0 book. It&#x27;s always been a pleasure.
Percevalover 1 year ago
Notepad&#x2F;TextEdit are my go-to HTML&#x2F;CSS&#x2F;Javascript&#x2F;PHP editors.<p>When I got more serious at one point in my life I used BBEdit.<p>I found Firefox&#x27;s development tools very useful as well.
meowtasticover 1 year ago
Astro SSR, deployed with Caprover on Hetzner Ubuntu machines. Tried Django, Next.js, React+Go&#x2F;Gin, Blazor. Never been more productive in my life.
cjs_acover 1 year ago
Python&#x2F;Flask, HTMX, SQLite or Postgres, Bulma CSS.
callamdelaneyover 1 year ago
HTMX, Tailwindcss + TailwindUI blocks + Flask + Sqlite &amp; Litestream to s3 on baremetal. Celery &amp; Redis for background tasks.
albelfioover 1 year ago
Sst.dev and remix.run are a pleasure to work with
评论 #39322557 未加载
romantomjakover 1 year ago
Go, postgres, redis, vue, tailwind css. Been wanting to experiment with htmx, but haven’t gotten around to it yet.
dylanzhangdevover 1 year ago
sveltekit + supabase&#x2F;pocketbase
acrooksover 1 year ago
these days I’m often using Supabase on backend, Nextjs+Vercel frontend<p>it has increased my speed to market massively. I mostly work on enterprise CRUD apps so getting things like SSO and API for free on Supabase is a great time saver<p>and then some apps require more specialized functionality and for that I’ll leverage the AWS stack
saasjoshover 1 year ago
ExpressJS back-end + NextJS front-end is the most productive one for me.
austin-cheneyover 1 year ago
Node, TypeScript, ESLint, Tauri, and a bunch of custom ESLint rules and a bunch of custom unit tests.
coding123over 1 year ago
Saas with a bit of data engineering mixed in: Mongo elastic react (nextjs) gql python spark LLM
santiagobasultoover 1 year ago
For SaaS, React in the frontend, Django + DRF in the backend. Postgres as DB. That&#x27;s it.
AussieWog93over 1 year ago
For a website? Wordpress honestly works pretty well if you don&#x27;t install 20+ plugins.
fredwimbergover 1 year ago
Backend: FastAPI + Pydantic + SQLModel (Python) Forntend: Vue&#x2F;Nuxt Database: Postgres
ivyirwinover 1 year ago
For SaaS, React frontend and Laravel&#x2F;Lumen on the backend. DB is usually Postgres.
sidharthvover 1 year ago
SvelteKit, with Zenstack handling access control on top of Prisma. Postgres as DB.
jasondigitizedover 1 year ago
Vue 3 + Nuxt + Tailwind + Supabase + Google Cloud Run = Luddite Friendly
评论 #39322653 未加载
sam_lowry_over 1 year ago
Postgrest + Petite-vue + One of the many classless css frameworks.
评论 #39314083 未加载
michalgover 1 year ago
Elixir, Phoenix LiveView, Postgres, TailwindCSS
martinsnowover 1 year ago
Laravel backend<p>React frontend
pilgrim0over 1 year ago
solid and tauri for apps, astro for content sites (with a headless cms if it’s big)
评论 #39312877 未加载
e61133e3over 1 year ago
HTML &amp; CSS
babyover 1 year ago
Rust and vuejs
ha1zumover 1 year ago
express, pm2, postgres, jquery
M95Dover 1 year ago
For personal use or at work?<p>Personal use:<p>- OpenWrt<p>- Hiawatha webserver<p>- PHP<p>- SQLite if really necessary<p>Work:<p>- not my decision