MuskanGupta-25 / Gemini_clone

https://gemini-clone-mu-gold.vercel.app
0 stars 0 forks source link

Create Sign Up and Login Page . #2

Open Arymansingh opened 3 months ago

Arymansingh commented 3 months ago

Description: Create a signup page and login page for our application that allows users to register and authenticate using JWT (JSON Web Tokens). This feature will include capturing user inputs for email, password, and first name during signup, and validating these credentials during login.

Tasks:

Signup Page:

Design and implement a signup form with fields for email, password, and firstname.. Implement backend API endpoint(s) to handle user registration. (skip this part Store user information securely, ensuring passwords are hashed. Login Page:

Design and implement a login form with fields for email and password. Validate user credentials against stored data. Generate JWT upon successful login and store it securely on the client side (e.g., localStorage or sessionStorage). Implement backend API endpoint(s) to handle user authentication and JWT generation. JWT Integration:

Implement middleware or utility functions to verify JWT authenticity for protected routes. Use JWT to manage user sessions and permissions securely. Additional Information:

Ensure compatibility with our existing frontend framework (e.g., React, Angular, Vue) and backend technologies (e.g., Node.js, Django, Flask). Use industry best practices for authentication and security. Consider usability and accessibility in the design of signup and login forms. Acceptance Criteria:

Users should be able to successfully register, login, and access authenticated features using JWT. Error handling and validation should provide clear feedback to users.

MuskanGupta-25 commented 3 months ago

Frontend part of the login and Signup page is completed pls review

Arymansingh commented 3 months ago

@MuskanGupta-25 where is the Pr? also review is done for the whole functionality when completed . I can clearly see there is no link up with backend Please ensure that login and signup should work as it works for everyother website . Please raise the Pr, there we have the review options there is not review on ticket.

tickets are meant to tell what problems are fixed or completed. Mention the Pr link in the issue ticket coments