The checklist
- Boundary validation — schemas match what clients can send; reject early with stable error codes.
- Error mapping — internal failures do not leak stack traces externally.
- Logging fields — correlation identifiers exist and are consistent across node hops.
- Timeouts — outbound calls have explicit deadlines and cancellation behavior.
Why checklists beat slogans
Slogans do not survive incidents. Checklists survive onboarding. For node-js teams, the goal is repeatable review language that maps to measurable production signals.
Glossary
- Handler
- A function responsible for a single route’s request lifecycle in a nodejs service.
- Route template
- A parameterized pattern used for metrics grouping, e.g., /v1/users/:id.
- Problem payload
- A structured error body suitable for machine parsing by API clients.
Apply NodeLib patterns
See Getting started for wiring examples and API reference for helper symbols.