Node Fastify
A minimal production-ready node HTTP server with fastify and typescript
node-fastify
dillonstreator/template-node-fastify
Just deployed
A minimal production-ready node HTTP server with Fastify
and Typescript.
- ✅ Typescript
- ✅ Graceful shutdown
- ✅ Optional Tracing with OpenTelemetry (configurable via environment variables)
- ✅ Properly configured request payload size limiting to help prevent Denial of Service attack vectors
- ✅ Auto-generated Swagger/OpenAPI documentation
- ✅
AbortSignal
propagation to prevent unnecessary work (includes example and test) - ✅ Structured logging with
pino
- ✅ Rich request logging middleware including request id, trace id, context propagation, and more
- ✅
zod
for request validation, JSON schema inference, and OpenAPI/Swagger generation - ✅ Testing with
tap
andundici
- ✅
helmet
&compression
Template Content
node-fastify
dillonstreator/template-node-fastify