API Routes Validation using YUP: Share frontend and backend validation using YUP schemas
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
5 views
1983
661
1 month ago 05:23:11 1
15 Crash Course | Build and Deploy a Production-Ready Full Stack App
1 month ago 04:04:23 1
Angular Crash Course 2024 (for Beginners)
1 month ago 18:17:32 1
Vue JS - Полный курс c нуля | Result University
1 month ago 01:57:41 1
La Grande Marche Contre la Pédocriminalité - Entretien avec Farid Dms Debah par Christelle Comet
1 month ago 01:16:59 1
La Grande Marche Contre la Pédocriminalité - Entretien avec Farid Dms Debah par Claude Janvier