1. User Registration

  1. User Input Collection:
  2. Validation:
  3. Check for Existing Users:
  4. Password Hashing:
  5. Save User:
  6. Response to Client:

2. User Login

  1. User Input Collection:
  2. Validation:
  3. User Lookup:
  4. Password Verification:
  5. Token Generation:
  6. Send Token to Client:

3. Forgot Password

  1. Request Password Reset:
  2. Validation:
  3. Generate Reset Token:
  4. Store Token: