RentRipple / RentRipple-Frontend

MIT License
1 stars 0 forks source link

Develop Login Page #6

Closed YashSahsani closed 3 weeks ago

YashSahsani commented 1 month ago

Summary:

Create Login Page for the Rent Ripple Website

Description:

Develop the login page for the Rent Ripple website. The login page should provide a secure and user-friendly interface for users to access their accounts. The page should include fields for entering email/username and password, along with options for password recovery and creating a new account. The login page should call the appropriate API for authentication and redirect users to their respective dashboards based on their role (owner or buyer).

Acceptance Criteria:

  1. Design and Layout:
    • The login page should have a clean and modern design that aligns with the overall branding of Rent Ripple.
    • Includes fields for email/username and password.
    • Include a "Forgot Password?" link for password recovery.
    • Include a "Create Account" link for new users to sign up.
    • A "Login" button to submit the login form.
  2. Functionality:
    • Ensure the login form validates user input and provides appropriate error messages for incorrect email/username or password.
    • Implement password recovery functionality that allows users to reset their password via email.
    • Ensure the "Create Account" link redirects to the registration page.
    • Implement secure authentication mechanisms to protect user credentials.
    • Call the appropriate API for authentication when the user submits the login form.
      • The API should verify the email/username and password.
      • On successful authentication:
        • Redirect owners to the owner dashboard.
        • Redirect buyers to the buyer dashboard.
      • On failed authentication, display an appropriate error message.
  3. Responsiveness:
    • The login page should be fully responsive and look good on both desktop and mobile devices.
    • Test the login page on various devices (desktop, tablet, mobile) to ensure compatibility.
  4. Security:
    • Ensure the login form uses HTTPS for secure data transmission.
    • Implement measures to prevent common security vulnerabilities such as SQL injection, XSS, and CSRF.
  5. Cross-Browser Compatibility:
    • Test the login page for cross-browser compatibility (Chrome, Firefox, Safari, Edge).
  6. User Experience:
    • Ensure smooth and intuitive navigation throughout the login process.
    • Include visual elements such as icons and animations to enhance user engagement.