Skip to content

As a user, I want to have login and registration pages and ensure my data is securely stored.

Acceptance Criteria

  • The user can log in by entering an email and password.
  • If login fails, the system provides clear error messages
  • The user can register by entering an email, password, and confirming the password.
  • During registration, the email must be validated for uniqueness. If the email is already in use, an error message is displayed.
  • User passwords are stored in the database using encryption

Tasks

  • Create a login form with email and password fields.
  • Add client-side validation
  • Create a registration form with email, password, and confirm password fields.
  • Validate email uniqueness via backend API.
  • Submit registration data to the backend.
  • Develop a registration API
  • Develop a login API
  • create a user table in database
Edited by Xiemuqing Xiao