
Node Express
A minimal production-ready node HTTP server with Express and Typescript
node-express
dillonstreator/template-node-express
Just deployed
template-node-express
A minimal production-ready node HTTP server with express
.
Features
- ✅ 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
- ✅
AbortSignal
propagation to prevent unnecessary work (includes example and test) - ✅ Validation with
express-validator
- ✅ Async error forwarding to default error handler with
express-async-errors
- ✅ Structured logging with
pino
- ✅ Rich request logging middleware including request id, trace id, context propagation, and more
- ✅ Testing with
jest
,supertest
, andfetch-mock
- ✅
helmet
&compression
Template Content
node-express
dillonstreator/template-node-express