NestJS DTO Schemas, Validation & Pipes Tutorial

Описание к видео NestJS DTO Schemas, Validation & Pipes Tutorial

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

In this NestJS DTO schemas, validation & pipes tutorial, we will build data transfer object (DTO) schemas and learn how to validate incoming requests with NestJS pipes, class validators and error handling.

💖 Support me on Patreon ➜   / davegray  

⭐ Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Node.js Developer: https://bit.ly/CompleteNodeJS
- Advanced React: https://bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr

🚩 Subscribe ➜ https://bit.ly/3nGHmNn

📬 Course Updates ➜ https://courses.davegray.codes/

❓ Questions - Please post them to my Discord ➜   / discord  

☕ Buy Me A Coffee ➜ https://www.buymeacoffee.com/davegray

👇 Follow Me On Social Media:
GitHub: https://github.com/gitdagray
Twitter:   / yesdavidgray  
LinkedIn:   / davidagray  

🔗 Source Code: https://github.com/gitdagray/nestjs-c...

🔗 Playlist for this NestJS Series:    • NestJS Tutorials for Beginners  

NestJS DTO Schemas, Validation & Pipes Tutorial - Series Part 4

(00:00) Intro
(00:05) Welcome
(00:27) Starter Code
(00:44) Start the Server
(01:12) Why We Need Request Validation
(02:06) NestJS Pipes
(05:36) Creating a DTO Schema
(07:48) Extending a DTO as a Partial Type
(11:40) Applying the DTOs
(14:56) Class Validators
(19:53) Applying ValidationPipe
(24:08) Built-in HTTP Exceptions
(28:51) Wrap-up

📚 Tutorial References:
🔗 NestJS Official Site: https://nestjs.com
🔗 Class Validators library: https://github.com/typestack/class-va...

Was this NestJS DTO schema validation tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.

#nestjs #dto #validation

Комментарии

Информация по комментариям в разработке