Lets-code-with-us / scamwebsiteV1

Scam Alert is an open-source platform where users can share and alert others about new types of scams. The goal is to create a community-driven space to identify and report various scam attempts, helping to protect people from fraud.
https://scamwebsite-v1.vercel.app/
12 stars 45 forks source link

Add a email verification API #41

Open Shu12388y opened 1 month ago

Shu12388y commented 1 month ago

ISSUE NAME

Add a email verification API

ISSUE DESCRIPTION

We are not verifying the user email id. Make a endpoint that verifies the user's email by verification email after that user can log in

lonewolf9277 commented 1 month ago

Hey I can work on this. Can you assign it to me? I have used this api https://emailverifier.reoon.com/ recently. Works really well.

Shu12388y commented 1 month ago

@lonewolf9277 assigned Don't use the mentioned API Just make a route to verify the user that will verify the user Add a new field isVerify in the user schema default value false when we hit the endpoint it will update the field true in the parameter we will get user emailid

lonewolf9277 commented 1 month ago

Alright.