Validate Your Express.js REST API Calls With Yup

Опубликовано: 29 Сентябрь 2024
на канале: TomDoesTech
5,377
69

In this video, we learn how to validate REST API calls with Express.js and Node.js. This video does not use any 3rd part library, except for Express & Yup. Instead, we use Express middleware to pass the payload to the Yup validation function.

Yup documentation: https://github.com/jquense/yup

🌎 Follow me here:
Discord:   / discord  
Twitter:   / tomdoes_tech  
Facebook:   / tomdoestech​  
Instagram:   / tomdoestech​  
TikTok:   / tomdoes_tech  
☕ Buy me a coffee: https://www.buymeacoffee.com/tomn