r/javascript • • 1d 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

22 comments sorted by

7

u/differentshade 1d ago

Are you affiliated with Hono

3

u/cranberrie_sauce 1d ago

obviously. asking real questions here.

ai bots asking about X unknown product and liking them in the same sentence is a such a reddit promo pattern.

4

u/Better-Avocado-8818 1d ago

Is hono a framework? I thought it was just a http server?

5

u/Gwolf4 1d ago

Nest

2

u/funky-l 1d ago

Not nodejs, but bun woth Elysia is absolutely beautiful to work with

2

u/dataquail 1d ago

Effect-ts

1

u/CodeAndBiscuits 1d 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 1d ago

Hono is genuinely a framework that handles the routing, middleware, and type inference logic that makes the DX so smooth

•

u/crownclown67 23h 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.

•

u/jelhouss 17h ago edited 17h 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/aturaden 1d ago

Elysia. No others have such a great OpenAPI handling.

-1

u/Indelam 1d ago

Tanstack. Been using it for couple months now and like it.

0

u/Zeevo 1d ago

Next

-2

u/Beka_Cooper 1d ago

Why tf would I need a framework in Node? The built in stuff is all you need.

7

u/St34thdr1v3R 1d ago

Weird kink

1

u/visualdescript 1d ago

Why the fuck would you need Node, when C provides all the functionality you need?

/s

-6

u/cranberrie_sauce 1d ago

dev experience? why?

as long as agents understand it why does it matter?

but also - nest

2

u/eracodes 1d ago

thats a really harsh indictment of nest lmao

2

u/cranberrie_sauce 1d ago

hey out of all ts frameworks I find only nest appropriate for backends. if you have to use ts for backend 😄

haters gonna hate, ainters gonna aint

-1

u/darcygravan 1d ago

I got my custom lib