Node.js Backend Frameworks (Fastify, NestJS, Hono)

Node.js Backend Frameworks: Fastify, NestJS, and Hono

Three post-Express Node.js/TypeScript backend frameworks. They share the HTTP-handler foundation captured in the express-patterns hub reference (middleware chains, routing, error handling, graceful shutdown, security hardening) — read that first; this reference covers what each framework does differently.

Full reference: ~/.claude/skills/software-engineering-patterns/references/nodejs-backend-frameworks.md. Cross-refs: Express baseline → express-patterns; API surface design → api-design-patterns; backend architecture → backend-patterns; auth flows → web-auth-patterns; Zod/TypeBox depth → zod-schema-validation; edge/Bun/Deno runtimes → programming-languages/javascript-runtimes-deno-bun-edge.

The spectrum

Synthetic JSON throughput: Hono ~78k req/s, Fastify ~62k req/s. Raw speed rarely decides real apps — DB/business logic dominate. Choose on architecture, runtime target, team conventions.

Fastify

NestJS

Hono

Choosing

Sources

Fastify docs (Encapsulation, Plugins, Hooks, Validation-and-Serialization, Decorators, Errors); Nearform Fastify plugin guide; Strapi Fastify APIs; NestJS docs (Modules, Circular dependency, Performance/Fastify); DeepWiki NestJS request pipeline; LogRocket circular deps; Hono docs (Concepts, RPC, Validation, Benchmarks, Stacks); Cloudflare Hono story; freeCodeCamp Hono; Encore NestJS-vs-Fastify-vs-Hono (2026); Better Stack Hono-vs-Fastify; HireNodeJS frameworks 2026.