Hey there fellow developers! 🌟 Today, let's dive into the buzzing world of Node.js and uncover the top 5 backend frameworks making waves in 2024. B...
For further actions, you may consider blocking this person and/or reporting abuse
Koa is the worst web library ever.
Nest.js is a monster library introduced a lot useless concepts.
The only acceptable library is express, but express's code is coupled and hard to extend and evolve.
Excellent points @610470416 , couldn't agree more. As Principal Engineer I am constantly looking for solutions that offers mechanics that allows me to be productive but doesn't take my freedom on creating new things or being able to extend capabilities of the framework. Another important aspect for me is that the group of features available in the framework are the ones that are extremely necessary, nothing more, avoiding then unnecessary boilerplate or extravagant spaghettis code to get something simple done as you imply in your text.
I am working heavily using ExpressoTS Framework, and I and my team are enjoying very much.
Thanks.
ExpressoTS is a good try of modern frameworks which introduced new features by using ts, but it is still somewhat mvc based which is in fact not proper for the web framework as you can sometimes feel it:)
You can take a look at aex, which totally has nothing to do with mvc and obeys the Web Straight line theory to separate web logic from business logic easily. With aex, you can make your code cleaner, better organized, more simplified regardless of the ways how http requests are handled.
MVC separations only exist in your business code when necessary instead of the web framework, aex.
There are popular new frameworks
thnaks for mentioning them 🫡
Good article! :)
Few things to consider:
.NET Core its a strong contender however is not the "lingua franca" of the internet. Internet is widely dominated by the javascript / typescript nodejs ecosystem. It doesn't mean that .NET Core framework is not used, in fact it is used especially here in America.
Related to the frameworks above mentioned, the only ones actively maintained are Nestjs and Koa. Hapi and Adonis are in a plateau without changing or significant change
I would recommend exploring expresso-ts.com/. It's a new framework (2.5 years of development, 1 year made public), currently being used in Asia, and Oceania and is gaining some traction this year in North America, especially in Canada.
@rsaz Thank you so much for your positive feedback! 🌟 I appreciate your insights and observations. I'll definitely take your recommendation to explore expresso-ts.com into consideration. It's exciting to learn about emerging frameworks gaining traction globally,
I just use SvelteKit.
Express.js is super nice to work with. On its own, it's already useful. There are some great middleware's out there and it's easy to build on top of.
One of my repo's
MrLinxed / zod-express-middleware
Express middleware to validate requests using zod schema's.
zod-express-middleware
Middleware for express that uses zod to make requests type-safe.
Installation
This package relies on zod, express and @types/express. These have been added as peer dependencies so they can be upgraded independently of this package.
zod-express-middleware can be installed using:
npm install zod-express-middleware
Usage
This package provides the
validateRequest
function, which can be used to validate the.body
,.query
and.params
properties of an ExpressRequest
. Separate functions for each of these are also provided (validateRequestBody
,validateRequestQuery
andvalidateRequestParams
).Basic example:
Absolutely! Express.js is awesome to work with. Its simplicity and the availability of great middleware make it super handy
For Nodejs, I noticed that Fastify framework is not mentioned.
Please just remove hapi!!!
Apparently you don't know the must know one:
aex
For an enterprise project, nest.js is a solid and safe choice. Especially with DDD approach.
Forgot to mention Fastify. It's honestly the most performant and modern of the Node frameworks.
NODE.JS has an interesting competition with ASP.NET Core
The competition between Node.js and ASP.NET Core is indeed fascinating. Both technologies bring unique strengths to the table, and the choice often depends on specific project requirements, team expertise, and performance considerations.
Node.js, with its non-blocking, event-driven architecture, is widely adopted for building scalable, real-time applications. On the other hand, ASP.NET Core, with its cross-platform capabilities, strong integration with Microsoft technologies, and robust framework features, offers a compelling option for various enterprise-level applications.
have you tried hono framework?
Well shame that i can't see fastify here.. The one and only node.js framework with amazing contributors and zero stale issues.
Nice!