The engineering notebook
RSS feed#nodejs
Articles, practical guides, and engineering notes on nodejs.
By Ashish Bhakhand 108 published articles
Explore the articles
5 articles
Reset filtersCross-Feature Boundaries in a Modular Backend
Let each feature own its truth and communicate through explicit ports and events instead of importing another feature's internals.
Zod Beyond Basic Parsing: Strict Objects, Defaults, Coercion, and Inferred Types
Practical Zod patterns for safer query strings, configuration, discriminated inputs, and TypeScript contracts without duplicate types.
Designing API Errors: Public Messages, Internal Causes, and Stable Codes
Give clients predictable errors while preserving the technical evidence operators need to diagnose failures.
How I Structure TypeScript Lambda Features Without a Heavy Framework
A feature-first structure keeps Lambda handlers thin, business rules testable, and AWS and MongoDB details at the edges.
TypeScript Types Disappear at Runtime: Validate API Boundaries with Zod
Static types cannot protect a running API from malformed input. Learn how Zod turns untrusted payloads into safe application data.