NestJS DTO Schemas, Validation and Pipes Tutorial
Offered By: Dave Gray via YouTube
Course Description
Overview
Learn how to build data transfer object (DTO) schemas and validate incoming requests using NestJS pipes, class validators, and error handling in this comprehensive tutorial. Explore the importance of request validation, understand NestJS pipes, create DTO schemas, extend DTOs as partial types, and apply them effectively. Dive into class validators, implement ValidationPipe, and utilize built-in HTTP exceptions for robust error handling. Follow along with practical examples and gain valuable insights into improving your NestJS application's data integrity and security.
Syllabus
Intro
Welcome
Starter Code
Start the Server
Why We Need Request Validation
NestJS Pipes
Creating a DTO Schema
Extending a DTO as a Partial Type
Applying the DTOs
Class Validators
Applying ValidationPipe
Built-in HTTP Exceptions
Wrap-up
Taught by
Dave Gray
Related Courses
DEV201x: Introduction to TypeScriptMicrosoft via edX Developing Dynamic Web Applications Using Angular
Microsoft via edX Introduction to TypeScript 2
Microsoft via edX Multiplatform Mobile App Development with NativeScript
The Hong Kong University of Science and Technology via Coursera Angular Fundamentals
Microsoft via edX