Articles for people who
ship the stack
Original rewrites on React, Node.js, TypeScript and AI — practical notes from the same engineering practice behind our operator software. Article bodies are in English.
Tagged: API Design
Scoring GraphQL Schema Design Debt with LLMs and a CI Ratchet
How to use an LLM reviewer and a 1-to-5 scoring pass to catch subjective GraphQL design issues in new pull requests and map the debt already in your schema.
8 min readAwait Sees Only One Promise: Designing Async/Await APIs That Own Their Work
What JavaScript async/await actually observes, why detached work, callbacks, streams and Promise.all slip past it, and how to design Promises that mean done.
13 min readThe HTTP QUERY Method for Frontend Teams: Safe Reads With a Body
Learn when the HTTP QUERY method beats GET and POST for complex filters, how to call it with fetch, and what CORS, caching and infrastructure support require.
7 min readValid JSON, Broken Contract: Layered Checks for Payload Regressions
Learn to catch JSON payload regressions that parse cleanly: semantic diffs, a focused JSON Schema, business-rule assertions in Node, and the limits of generated types.
7 min readOne JSON Envelope for Every NestJS Route: Interceptors Plus a Global Filter
Wrap every NestJS response in a typed envelope using a generic interceptor, a message decorator and an exception filter, while keeping controllers free of boilerplate.
6 min readRemoving try/catch Boilerplate from Express Routes with asyncHandler
Learn how error middleware, an asyncHandler wrapper and a custom AppError class move Express error responses out of every route and into one consistent place.
5 min readThe Stateless Chat Loop: Calling the OpenAI API by Hand in Python
Build a multi-turn chat with the OpenAI Python SDK by managing message history yourself, and see why the same loop underpins LangChain memory and agents.
5 min readPreventing Lost Updates in Node.js and MongoDB Under Concurrent Writes
Learn how atomic conditional updates, version-based optimistic locking, 409 responses and transactions stop concurrent MongoDB writes from silently discarding data.
9 min readGuarding the Express Boundary: One Zod Middleware for Body, Params and Query
Learn how to validate Express request bodies, route params and query strings with one reusable Zod middleware, and how it complements Sequelize model validation.
9 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.