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

24 comments sorted by

8

u/differentshade 14d ago

Are you affiliated with Hono

3

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

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

5

u/Gwolf4 14d ago

Nest

2

u/funky-l 14d ago

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

2

u/dataquail 14d ago

Effect-ts

1

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

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

1

u/crownclown67 14d 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 13d ago edited 13d 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 10d ago

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

1

u/aturaden 14d ago

Elysia. No others have such a great OpenAPI handling.

-1

u/Indelam 14d ago

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

0

u/Zeevo 14d ago

Next

-2

u/Beka_Cooper 14d ago

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

7

u/St34thdr1v3R 14d ago

Weird kink

1

u/visualdescript 14d ago

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

/s

1

u/ava_896517 2d ago

For a tiny server, built-ins may be plenty; frameworks pay off when routing, middleware, validation, and error handling become repeated plumbing.

-6

u/cranberrie_sauce 14d ago

dev experience? why?

as long as agents understand it why does it matter?

but also - nest

2

u/eracodes 14d ago

thats a really harsh indictment of nest lmao

2

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

I got my custom lib