Validating API Query Parameters
Cleanly validate query parameters in Express using Zod transformations.
Building a Service – User Registration and Authentication
Step-by-step guide to building a real UserService with registration, login, JWTs, and validation.
Using TypeScript with Node.js and Express
Learn how to use TypeScript with Node.js and Express to write robust, type-safe APIs with minimal effort.
Defining API Schemas with Zod and TypeScript
Learn how to use Zod with TypeScript to validate and type-safe your API inputs, bodies, queries, and responses.
Validating Express Requests with Zod
Validate Express request bodies and params with a clean Zod middleware setup.
Bonus – Custom Zod Error Formatter for Express APIs
Format Zod errors for consistent API responses using a custom Express handler.