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: validation
Validating LLM Output With an Executable Knowledge Graph and Two Gates
Use RelationalAI as a verification layer: structured LLM claims, schema validation, a refund-policy graph and a second gate that rejects answers contradicting business rules.
1546 wordsRead articleReplacing as-Casts with Zod Parsing at Every Next.js Data Boundary
Why a TypeScript cast cannot protect you from API drift, and how one Zod schema validates fetch results, forms, Route Handlers and Server Actions in Next.js.
1136 wordsRead articleZod 4.5 compile, validate and safeParse: Choosing a Parser per Boundary
How to benchmark Zod 4.5's compiled parsers and boolean validate fast path on valid and invalid payloads, and where each API belongs without losing error paths.
2605 wordsRead articleA Validated Birth-Date Form in Next.js With Controlled Inputs and Callbacks
Build a small Next.js client form that tracks input with useState, rejects bad birth dates, shows accessible errors and hands clean data to its parent component.
2384 wordsRead articleHand-Built React Forms: Controlled Inputs, Validation and Submit States
Learn how React forms work from controlled inputs and per-type handlers to validation, submission states, dynamic fields, uploads and when a form library pays off.
2992 wordsRead articleServer-Side Input Validation in Express with express-validator Chains
Learn why Express APIs must validate input on the server, how express-validator chains record errors for validationResult, and how to structure a production route.
2373 wordsRead articleSchema-Driven React Forms: Rendering and Validating From JSON Schema
How to render validated React forms directly from JSON Schema, handle $ref, oneOf and if/then branches, plug in custom widgets and avoid common validation traps.
2345 wordsRead articleGuarding 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.
2021 wordsRead articleBuilding Production-Ready LLM Prompts: A Seven-Layer Framework
Learn a structured, API-inspired framework of seven prompt layers—instructions, context, constraints, and more—for building reliable, production-grade LLM systems.
3297 wordsRead article
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.