The engineering notebook
RSS feedBackend
Articles, practical guides, and engineering notes on Backend.
By Ashish Bhakhand 108 published articles
Explore the articles
42 articles
Reset filtersHow I Structure a Large FastAPI Backend with Vertical Slices
Organize FastAPI around business capabilities so routes, services, schemas, persistence, and rules evolve together.
The Lambda Middleware Every Function Should Have
Standardize correlation IDs, safe logs, error responses, and timing once so every Lambda handler starts with reliable operational behavior.
Why I Usually Choose FastAPI Over Django-and When I Would Choose Django
A practical framework decision based on the product you are building, the infrastructure you already have, and the work each framework removes.
Testing Business Logic Without AWS or MongoDB
Use Jest and repository ports to test decisions directly, without building fake Lambda events or connecting to a database.
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.