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

23 comments sorted by

8

u/differentshade 8d ago

Are you affiliated with Hono

3

u/cranberrie_sauce 8d 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.

5

u/Better-Avocado-8818 8d ago

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

5

u/Gwolf4 8d ago

Nest

2

u/funky-l 8d ago

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

2

u/dataquail 8d ago

Effect-ts

1

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

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

1

u/crownclown67 8d 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 7d ago edited 7d 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 3d ago

The schema workflow sounds like the DX win; does the inference also cover OpenAPI generation, or mainly endpoint types?

1

u/aturaden 8d ago

Elysia. No others have such a great OpenAPI handling.

-1

u/Indelam 8d ago

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

0

u/Zeevo 8d ago

Next

-2

u/Beka_Cooper 8d ago

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

7

u/St34thdr1v3R 8d ago

Weird kink

1

u/visualdescript 8d ago

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

/s

-6

u/cranberrie_sauce 8d ago

dev experience? why?

as long as agents understand it why does it matter?

but also - nest

2

u/eracodes 8d ago

thats a really harsh indictment of nest lmao

2

u/cranberrie_sauce 8d 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 8d ago

I got my custom lib