Introduction to Zod and Schema Basics
A beginner-friendly introduction to Zod, schemas, and basic parsing.
Arrays, Enums, and Literal Types in Zod
Explore array validation, enums, and strict literal values.
Nested Objects and Schema Composition in Zod
Nest schemas and reuse them cleanly with extend and merge techniques.
Validation Methods, Error Handling, and Zod Utilities
Understand parse vs safeParse, and how to handle validation errors effectively.
Pipes and Custom Decorators
Learn how to use NestJS pipes to transform and validate input, and how to build reusable custom decorators.
Async Validation with Promises in Zod
Validate asynchronous data like DB calls or APIs using refineAsync and parseAsync.
File Uploads and Validation
Learn how to upload files in NestJS using Multer, and combine file handling with DTO validation for secure and structured input.
Building a Service – User Registration and Authentication
Step-by-step guide to building a real UserService with registration, login, JWTs, and validation.
Handling Nested Errors and Formatted Output with Zod
Format nested Zod validation errors for frontend-friendly feedback.