Myvideo

Guest

Login

API Routes Validation using YUP: Share frontend and backend validation using YUP schemas

Uploaded By: Myvideo
5 views
0
0 votes
0

In this video we will add validation to our API Routes using YUP. In order to achieve that in a simple and reusable way we will create a validation middleware that uses YUP for schema validation. Because we are using YUP, we can now share our validations across front-end and back-end. Form libraries like formik and react-hook-form work very well with YUP. I hope you enjoy the video :) -— URLs GitHub URL: GitHub commit history: Video introduction to API Routes: Video using next-connect (Express like API): Tutorial Playlist: https:// ... #BrunoAntunesPT # # #nextjs_tutorial #Nextjs_for_beginners #typescript # #next_typescript #nextjs_typescript # 20210309 ZG7sLbI8kL8

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later