Wednesday 25 March 2020

[Question] In a signup endpoint with Mongoose, should I validate the e-mail address by RegExp in the Schema or with "if statement" in the Route or both?

as the title.please explain your answer if you can so I can understand why

Submitted March 25, 2020 at 11:13PM by AhmedHossam01

No comments:

Post a Comment