Can someone explain to me how to use express validator middleware v5.x and ejs,
for example I need to validate that the minimal length of username not less than 5
and then show up any error message produced by the validator on EJS layout.
I know Express validator has a .islenght validation but how to implement this
on my route and then show up the message any message produced by the validator on my EJS layout.
I need just a brief example.