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...
On this page of the site you can watch the video online Validation in Express - Node js with a duration of hours minute second in good quality, which was uploaded by the user Programming with Basar 18 April 2021, share the link with friends and acquaintances, this video has already been watched 7,204 times on youtube and it was liked by 87 viewers. Enjoy your viewing!