Validation in Express - Node js

preview_player
Показать описание
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.

Like, subscribe, comment any interaction with my channel, means a lot. Thanks

About me:

Рекомендации по теме
Комментарии
Автор

Thanks for going more in depth with custom validators. Using an advanced project provided much value to this introduction.

Keep up the good work.

puito