How to validate input using nestJs? NestJs course [pt. 3]

Опубликовано: 16 Октябрь 2024
на канале: Tech With Piotr
2,855
62

In the third part of the nestJs tutorial, I will show you how to validate data in nestJs app. We will learn about nestJS pipes and how to use them for input verification.

Starting code: https://github.com/piotrmol/nestjs-re...
Final code: https://github.com/piotrmol/nestjs-re...

Class-validator documentation: https://github.com/typestack/class-va...

0:00 Introduction
0:27 What is nestJs pipe
01:10 Starting the nestJs server
01:40 NestJs uuid pipe
04:00 NestJs validation options
04:45 Validating string type
06:54 Validating arrays
08:23 Validating enum
09:03 Validating numeric value
09:56 Use global pipes

🎓 Enhance your learning journey! Visit my second channel, for valuable tips & tricks on mastering academics:    / @piotrteaches   👨‍🎓👩‍🎓