There’s more options out there now. I did a bit of research a few years back, and my go-to now is Fastify.
There’s more options out there now. I did a bit of research a few years back, and my go-to now is Fastify.
Express is my go-to but I'm always open to improving my ways.
The backwards incompatibility is frustrating as most of the major changes could have been done in non-breaking ways. That makes it harder to recommend for people who do software for work - it is par for the course of the economic waste that is the JS framework upgrade treadmill, which may seem normal, but isn't.
I'd still generally recommend something like Django (!) or, if you need to go thin, fastAPI, as more complete, stable, & open governance than many node frameworks. Frustrating as V8 is an amazing engine.
Also switched to Fastify. It has a great ecosystem and community. It's also easy to write custom plugins.
I've tried building production apps on top of server frameworks that are constantly innovating, and it's a massive PITA. You can't not update because there are security fixes that you need, but the API surface is constantly changing to support the new great thing.
I think it's a good sign that the most popular server framework for JavaScript has finally stabilized and isn't innovating any more. We might finally be at the point where we can just build an app without constantly chasing the new.
Oh hi there Sveltekit
Conversion was mostly easy because most web frameworks are pretty similar. It's less an issue of an individual frameworks features and more how popular it is. For example, a lot of people use passport for auth, so using a popular solution is more likely to have a well-supported plugin for passport, which makes conversion trivial.
On a practical note, I did have some minor roadbumps with the typical PITA issues like dealing with file-streams and multipart.
I use Go for all backend. But sometimes I have dabbled in node using express.
Maybe if I ever have a need to do something with node I’ll try with this.
Cheers