Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login / Signup #5

Open
MUDITJAINN opened this issue Oct 3, 2024 · 8 comments
Open

Login / Signup #5

MUDITJAINN opened this issue Oct 3, 2024 · 8 comments

Comments

@MUDITJAINN
Copy link
Owner

MUDITJAINN commented Oct 3, 2024

The website currently lacks a login and signup functionality, which is essential for providing personalized experiences and saving user preferences, such as Dosha analysis results, chat history, and selected wellness plans. Implementing a secure and user-friendly authentication system will allow users to create accounts, log in, and manage their profiles.

Expected Behavior:

Signup: Users should be able to create an account by providing basic details such as email, username, and password. Passwords must be securely hashed before storage.

Login: Returning users should be able to log in with their credentials (email and password) and gain access to their personalized settings and previous interactions.

Validation: Both signup and login forms should include client-side and server-side validation to prevent invalid input (e.g., weak passwords, incorrect email format).

Error Handling: Proper error messages should be displayed for common issues such as "User already exists" during signup or "Incorrect credentials" during login.

Session Management: Upon successful login, the user session should persist across different pages, and the session should expire upon logout.

Security: The system should use secure authentication mechanisms (e.g., JWT for token-based authentication) to protect user data and prevent unauthorized access.

Use a combination of Node.js, Express.js, and MongoDB for backend authentication, and implement the frontend forms in React. Store encrypted user passwords in the database and manage user sessions with JWT tokens. Use React state or context to manage the user session on the frontend, ensuring seamless navigation after login. Integrate form validation and display proper error messages for user feedback.

@aditya-gup780
Copy link

Please assign this issue to me I want to work on it...:)) @MUDITJAINN

@VanshChitransh
Copy link

@MUDITJAINN I would love to work on this issue.

@MUDITJAINN
Copy link
Owner Author

@aditya-gup780 go ahead!!

@shreyansh1410
Copy link

Hi! If there are anymore issues, I would love to work on it @MUDITJAINN

@MUDITJAINN
Copy link
Owner Author

@shreyansh1410 new features and issues are always welcome.

@MUDITJAINN
Copy link
Owner Author

Updates?

@shreyansh1410
Copy link

Hi @MUDITJAINN please check issue #16

@aditya-gup780
Copy link

extremely sorry I'm currently working on some other project and cannot find time for it plz assign this issue to someone else...or else I will work after sometime...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants