What should I use instead of #Express and #Handlebars for a web application in Node.js in 2023? Can someone summarise pros and cons of the most popular alternatives? I see way too many…
Alternatives to #Express:
[**Koa**](https://koajs.com/), which can either [replace or complement](https://github.com/koajs/koa/blob/master/docs/faq.md) both Express and [Connect](https://github.com/senchalabs/connect).
[**Fastify**](https://www.fastify.io/), which looks straightforward and very similar to Express. Plugin for templating (supporting Handlebars, Mustache, Pug and EJS): [@fastify/view](https://github.com/fastify/point-of-view).
[**NestJS**](https://nestjs.com/), which seems too convoluted and probably redundant since it works on top of either Express or Fastify (?).
[**Meteor**](https://www.meteor.com/): more of a platform. No tutorial for vanilla JS (only for React, Vue, etc), and not oriented towards SSR.
I'll probably go for #Koa or #Fastify.
#JS #JavaScript #Node.js #Node
@tripu I don't know which project you have in mind, but I would very much would like to do something with Django and htmx (https://htmx.org/) or unpoly (https://unpoly.com/).
htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext htmx is small (~14k min.gz’d), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when compared with react
htmx.org