GlobeHoppin / globe-hoppin-backend

Backend of GlobeHoppin. Tech - NodeJs, Express and MongoDB
https://www.api-globehoppin.mustafizkaifee.in/
5 stars 11 forks source link

Authentication API #Issue_Number-1 #21

Open Sureshwebdeveloper opened 4 days ago

Sureshwebdeveloper commented 4 days ago

I have Writed user Authentication Api

Flow Of My Cod

  1. User Register New Account --> email, password,confirm password ---> Sending Token Access Token,Authentication Token

  2. Verify token via headers both authtoken,access token if valid next user can update data via Create Profile

  3. User Create Our Profile Via Registered Email And Update A Other Deatiles name, gender, age, country, phoneNumber, countryCode, description, social media link, profile picture,

  4. Login User Via Email Password Or Registered PhoneNumber And Return Only Authentication Token

If I need to make any other changes, please provide them. I am excited to work on that. @Mustafiz04

this close #1