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
1536
522
1 month ago 00:17:51 1
Ugly Truth About golf Course Extension Road Gurgaon #golfcourseextensionroad 2024
1 month ago 00:00:00 1
Complete Application in SpringBoot API and React UI - InventoryMS Begins!
1 month ago 00:06:16 1
La Sidi-brahim (Hymne des Chasseurs à Pied) - Le soldat de France (Chanson de route)
1 month ago 03:01:08 1
React JS фундаментальный курс от А до Я
2 months ago 18:17:32 1
Vue JS - Полный курс c нуля | Result University
2 months ago 00:12:17 1
React Router - How to Pass Parameter to Another Page Using Link
2 months ago 00:19:54 1
How to Filter DropDownlist by Another Dropdownlist React
2 months ago 02:55:44 6
React Native MacOS App Tutorial – Book Management System