We need to validate user inputs before storing them in database. In this tutorial we are going to use express-validator to validate the fields for not to be empty or to have some specified length, or if they are really e-mail address or limitations like the uniqueness of the email in application.
And also we will combine that validation logic with our existing error handling mechanism to provide a standard error response back to client.
The repo for this tutorial can be found here https://github.com/basarbk/express-se...
I have full course about test driven development with node js. You can get the discount from this link https://bafoly.com/?course=tdd-nodejs
Like, subscribe, comment any interaction with my channel, means a lot. Thanks
About me:
My name is Basar Buyukkahraman. I've courses for Spring Boot, React, Node.js, Web Components, Svelte and Vue in udemy.
You can check the latest coupon for my courses here: https://bafoly.com
Test Driven Web Development with Spring & React - https://www.udemy.com/course/test-dri...
Test Driven Development with Node.js https://www.udemy.com/course/test-dri...
Git - Step by Step Guide https://www.udemy.com/course/git-step...
Fundamentals of Web Components - https://www.udemy.com/course/fundamen...
Svelte with Test Driven Development - https://www.udemy.com/course/svelte-w...
Vue with Test Driven Development - https://www.udemy.com/course/vue-with...
React with Test Driven Development - https://www.udemy.com/course/react-wi...
Sur cette page du site, vous pouvez voir la vidéo en ligne Validation in Express - Node js durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Programming with Basar 18 avril 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 7,204 fois et il a aimé 87 téléspectateurs. Bon visionnage!