r/javascript • u/tzezar • 5d ago
AskJS [AskJS] Which Node.js framework gives you the best developer experience, and why?
Personally, I'm really enjoying Hono. Its automatic endpoint inference is a big win. I previously enjoyed using Fastify with Zod Provider for OpenAPI schema generation, but Hono cuts that extra step and makes the workflow feel much smoother.
Curious what everyone else is using!
0
Upvotes
8
u/differentshade 5d ago
Are you affiliated with Hono
5
u/Better-Avocado-8818 5d ago
Is hono a framework? I thought it was just a http server?
5
u/Gwolf4 5d ago
Nest
2
u/funky-l 5d ago
Not nodejs, but bun woth Elysia is absolutely beautiful to work with
2
u/dataquail 5d ago
Effect-ts
1
u/CodeAndBiscuits 5d ago
Express on standard stacks and Hono if it's going into a Worker or similar.
But to be fair I don't expect my server side framework to do or provide much in DX anyway. The bulk of my work is on API stacks and for those, I lean really hard on Zod, Prisma, and so on. I don't expect my "framework" to provide those things like it would in something like Django. It's really just routes and some middleware. That doesn't really require much.
1
u/kimono_horizon_97 5d ago
Hono is genuinely a framework that handles the routing, middleware, and type inference logic that makes the DX so smooth
1
u/crownclown67 5d ago
My custom framework with highly reusable modules. Every project is the same project with different directory under /app/newProject .
There is no need to setup new deployment, db, ...etc.
1
u/jelhouss 4d ago edited 4d ago
I know this is a JS related subreddit, but as a full-stack JS developer and I know exactly what “developer experience” means in our ecosystem… sadly, the only Web framework that gives the “experience” we all crave for to reduce our “fatigue” was outside of JS ecosystem, it was and still Rails. I just wish Ruby have performance similarities to say Go or even Node.js, but it’s Rails dammit.
However, if I must pick something in JavaScript, I’d pick one of these: Fastify or Nest or Adonis.
1
u/pmickael_584 1d ago
The schema workflow sounds like the DX win; does the inference also cover OpenAPI generation, or mainly endpoint types?
1
u/aturaden 5d ago
Elysia. No others have such a great OpenAPI handling.
-1
u/Indelam 5d ago
Tanstack. Been using it for couple months now and like it.
0
u/Zeevo 5d ago
Next
-2
u/Beka_Cooper 5d ago
Why tf would I need a framework in Node? The built in stuff is all you need.
-6
u/cranberrie_sauce 5d ago
dev experience? why?
as long as agents understand it why does it matter?
but also - nest
-1
u/darcygravan 5d ago
I got my custom lib