Jaishree2310 / GlassyUI-Components

GlassyUI: Elegant Glassmorphism Components for Modern UIs
https://glassyui.vercel.app
59 stars 113 forks source link

[FEATURE] <description>Add Login and SignUp Page #257

Open MohitSrivastava22 opened 1 month ago

MohitSrivastava22 commented 1 month ago

Is this a unique feature?

Is your feature request related to a problem/unavailable functionality? Please describe.

The application currently lacks dedicated login and signup pages, preventing users from accessing their accounts or creating new ones. Implementing these pages is essential for user authentication, enhancing security, and improving overall user experience.

Proposed Solution

Develop dedicated login and signup pages within the application to facilitate user authentication. The login page will allow users to securely enter their credentials, while the signup page will enable new users to register by providing their email and password. Implement form validation, secure password handling, and user feedback mechanisms to ensure a smooth and secure user experience.

Screenshots

No response

Do you want to work on this issue?

Yes

If "yes" to above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

  1. Set Up Routing

    Use a routing library (e.g., React Router) to create routes for the login and signup pages, allowing users to navigate between them.

  2. Create Components

    Login Component:

    Build a form for users to enter their email and password. Manage input state and handle form submission to authenticate users with the backend.

    Signup Component:

    Create a form for new users to enter their email, password, and confirm their password. Validate inputs and handle form submission to register the user.

  3. Backend API Development

    Set up an Express server to handle API requests. Signup Logic: Implement a route to create a new user and hash passwords. Login Logic: Implement a route to authenticate users and generate JWT tokens for secure sessions.

github-actions[bot] commented 1 month ago

👋 Thank you @MohitSrivastava22 for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!

Jaishree2310 commented 1 month ago

@MohitSrivastava22 Could you complete it within 2 days for better contribution? I am in the Loop of checking all the PR's and issues very carefully so I have to keep the consistency maintained.