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...
Auf dieser Seite können Sie das Online-Video Validation in Express - Node js mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Programming with Basar 18 April 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 7,204 Mal angesehen und es wurde von 87 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!