Jaishree2310 / GlassyUI-Components

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

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

Open MohitSrivastava22 opened 2 days ago

MohitSrivastava22 commented 2 days 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 2 days ago

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