REST API, Node and TypeScript: #11 - Validation Middleware with Yup

Published: 01 January 1970
on channel: Lucas Souza Dev
4,873
464

Need help? Request private assistance: https://forms.gle/Pu1aT2LsbU1nuTTDA

Sometimes, a project needs much more than just functionality; code organization and readability contribute significantly to the overall quality of the project.

In this lesson, we'll see how to improve our controller methods by separating API input data validation into middleware, and also how to validate other types of input data.

Links mentioned in the video:
📖 Project repository - https://github.com/lvsouza/youtube-cu...
🗨️ Discord -   / discord  

Other courses on the channel:
🎩 Figma for DEVs -    • Figma para DEVs: #00 - Apresentação do curso  
☪️ Styling course in React -    • Estilização no React: Aula 00 - Curso de f...  
⭐️ React course with TypeScript -    • Curso de react: Aula 01 - Começando com Re...  
👑 React, Material UI 5 and TypeScript -    • React, Material UI 5 e Typescript: #00 - I...  
🏆 REST API, Node, and TypeScript Course -    • API Rest, Node e Typescript: #00 - Apresen...  

Recommended books:
📘 Clean Code - https://amzn.to/43Xiick
📘 Clean Architecture - https://amzn.to/3ZMCStr
📘 Migrating Monolithic Systems - https://amzn.to/45ByPDZ
📘 The Micro SaaS Handbook - https://amzn.to/4jCan93

Content:
0:00 | Introduction
0:25 | What we will do in this lesson
2:58 | Understanding the problem
5:40 | What is middleware in Express and TypeScript
7:50 | How to create middleware in Express and TypeScript
18:00 | How to validate query parameters with Yup in Express
21:00 | Final considerations

CODARSE - API input data validation

#typescript #typescriptcourse #javascript #javascriptcourse #reactetypescript #learningtypescript #learningjavascript #apirest #apinode


On this page of the site you can watch the video online REST API, Node and TypeScript: #11 - Validation Middleware with Yup with a duration of hours minute second in good quality, which was uploaded by the user Lucas Souza Dev 01 January 1970, share the link with friends and acquaintances, this video has already been watched 4,873 times on youtube and it was liked by 464 viewers. Enjoy your viewing!