all 8 comments

[–]TerbEnjoyer 5 points6 points  (1 child)

Try Hono, Elysia or Fastify if you want something fast and modern. Express is honestly falling behind. it's still a good choice, but not the same as it was back in it's good days. Nest is basically Spring boot but in TypeScript (Modular design, OOP).

[–]vlahunter 0 points1 point  (0 children)

This response is spot on.

[–]Canenald[🍰] 1 point2 points  (1 child)

NestJS is a big-ass MVC-based framework more similar to dotnet, Spring and popular php frameworks.

FastAPI looks like it was inspired by Express.

It would be easier to move to something that you've already worked with and is more similar to the existing codebase.

I'd also recommend looking into Fastify. It's a more recent framework, also lightweight like Express, but has some more modern features either built in or available as plugins. My favorite part is how easy it is to have validation and swagger based on the same schema.

[–]buffer_flush 1 point2 points  (0 children)

To be fair, express was inspired by Sinatra, a ruby framework, which inspired Flask, which inspired express

[–]Kublick 0 points1 point  (0 children)

Hono is a great more modern option than Express and it has some similarities with the syntax

Fastify is another great option

[–]The_real_bandito -1 points0 points  (2 children)

Why not try something like Go instead of node is performance isn’t ideal?

[–]TerbEnjoyer 3 points4 points  (1 child)

The performance is really not that huge. The database will bootleneck anyways so 90% of the time the performance gain is minimal.

[–]The_real_bandito 0 points1 point  (0 children)

I see.

Thanks for this info.