Tons of options. Still nothing quite like rails but common choices are Hono, Hapi and AdonisJS.
Personally I’ve been using just hono’s router with a thin convention layer overtop and Bun to build a lot of fun stuff. Paired with Valibot and Drizzle you’ll go super far.
In enterprise world, I'm seeing a lot of nestjs, but I'm more and more concerned about it's future. It's based on angular 2 style DI, but while Angular managed to evolve quite a lot, moving more and more away of the module provider pattern, it's still the case in Nestjs. Plus, no esm :(
Same, we're honestly considering dropping it in favor of something like EffectJS, relying on pre-1.0 packages like class-validator and class-transformer is annoying as well
Nest for sure. Underneath though either express or fastify. We use express and don't have any issues with it, and it's now back under active development with v5 being released recently.
I know fastify is faster though. You could even go ham and just go with Bun serve, no nest adapter though.
Comments
Tons of options. Still nothing quite like rails but common choices are Hono, Hapi and AdonisJS.
Personally I’ve been using just hono’s router with a thin convention layer overtop and Bun to build a lot of fun stuff. Paired with Valibot and Drizzle you’ll go super far.
I know fastify is faster though. You could even go ham and just go with Bun serve, no nest adapter though.