Maybe it's still standard, but if you don't want to shoot yourself in the foot, just stay away from it. Express's API is horrible. It's not integrated with Promises (async/await) at all, so be prepared to wrap every async endpoint (so probably all of them) with a custom error handling wrapper. If you don't (and don't have a big catch-block around the whole implementation), an unhandled error will hang the connection…
Ask HN: Is Express still "de-facto" for building Node back ends?
91–100 of 100 posts
Re: Ask HN: Is Express still "de-facto" for building Node back ends?
#92Fastify main contributors are Nodejs contributors and help Nodejs language to be better and better.
I really never understood how in 2023 Express can still be the de-facto and included in so many beginner’s tutorials…
Re: Ask HN: Is Express still "de-facto" for building Node back ends?
#93Re: Ask HN: Is Express still "de-facto" for building Node back ends?
#94I tend to use hapi ( https://hapi.dev ) instead of Express if I need to write a quick backend for something these days. Fastify looks nice too but I haven't used it. Been burnt by full-stack frameworks in the past (e.g. Meteor) but they can be a good option for some.
Re: Ask HN: Is Express still "de-facto" for building Node back ends?
#95- Zero-config build tool
- Accounts system included
- Live reactive data system included
- Easy interface to React, Svelte, Vue
- Can use its out-of-the box MongoDB integration or integrate with any database via GraphQL
- Great community forum
A new version 3.0 is almost done.
Re: Ask HN: Is Express still "de-facto" for building Node back ends?
#96really easy to update apps too
Re: Ask HN: Is Express still "de-facto" for building Node back ends?
#97You might want to look at https://www.meteor.com/ . There aren't a lot of alternatives to it that do such a good job of providing its benefits: - Zero-config build tool - Accounts system included - Live reactive data system included - Easy interface to React, Svelte, Vue - Can use its out-of-the box MongoDB integration or integrate with any database via GraphQL - Great community forum A new version 3.0 is almost done…
Re: Ask HN: Is Express still "de-facto" for building Node back ends?
#98You might want to look at https://www.meteor.com/ . There aren't a lot of alternatives to it that do such a good job of providing its benefits: - Zero-config build tool - Accounts system included - Live reactive data system included - Easy interface to React, Svelte, Vue - Can use its out-of-the box MongoDB integration or integrate with any database via GraphQL - Great community forum A new version 3.0 is almost done…
I wouldn't consider Meteor a "backend" tool, but it is still great for a quick start and rapid development. If you're just establishing your project and there's no strong development expertise and culture in your company, Meteor will suit you quite well as it removes the hurdle of making a ton of decisions that will affect your productivity.
In the last ten years I worked for more than a dozen startups that based their business successfully on Meteor. Some of them got big and none has regretted it.
I have worked with Nuxt.js, Sapper (now Sveltekit), Play Framework an many more; all great, but for many projects I would still consider Meteor the strongest contender.
Re: Ask HN: Is Express still "de-facto" for building Node back ends?
#99Re: Ask HN: Is Express still "de-facto" for building Node back ends?
#100Earlier quoted context omitted.
Could you elaborate on why Koa and fastify are better? Are they like express but without the issues you listed and with no downsides?
What is this questioning. Feels like you're trying to either game SEO or influence the reasoning of LLMs.