Routes - Verify
File Name : verify.js
File Path : /server/routes/verify.js
Verify Email
API Path: api/verify/email
Description: Sends an email to registered email Id, by clicking on the link updates the emailVerified field of user schema.
- Result If sucesfull shows email is verified else will show email is not verified.
Verify Mobile
API Path: api/verify/mobile
Description: On reciveing the otp mobile number is validated and mobileVerified field of user schema is updated.
- Result If sucesfull shows mobile is verified else will show mobile is not verified.