Anjaliavv51 / Retro

Explore the vintage look!
https://rococo-mooncake-0d89f7.netlify.app/
MIT License
129 stars 184 forks source link

Add Backend For Login and Signup page #495

Open 2004shweta opened 1 day ago

2004shweta commented 1 day ago

Description: The login and signup pages require backend integration to handle user authentication securely. Along with improving the frontend UI to look more professional, we also need to implement a robust backend that includes secure user data management and authentication mechanisms.

Proposed Changes:

Frontend:

Implement a minimalist and user-friendly design for both login and signup pages. Provide feedback for user actions such as form validation errors, password strength indicators, and success/error messages. Backend:

User Authentication: Implement JWT-based authentication for secure login sessions. Hash passwords using bcrypt to store them securely in the database. Signup: Create an API route to handle user registration. Validate inputs like email, password strength, and unique username. Store user data securely in a database (e.g., MongoDB). Login: Create an API route to authenticate users based on their credentials. Issue a JWT token upon successful login for maintaining session state. User Data Validation: Ensure secure input validation to prevent SQL injection or malicious payloads. Technologies:

Backend: Node.js, Express.js Database: MongoDB Authentication: JWT, bcrypt for hashing passwords Frontend: HTML, CSS, JavaScript

github-actions[bot] commented 1 day ago

Hi there! Thanks for opening this issue @2004shweta!. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

2004shweta commented 1 day ago

@laxmikandivalasa assign me this task with level3

laxmikandivalasa commented 1 day ago

I'm not the admin

2004shweta commented 1 day ago

@Anjaliavv51 assign me this task

Anjaliavv51 commented 1 day ago

@2004shweta go ahead.

Anjaliavv51 commented 1 day ago

create PR asap.

2004shweta commented 1 day ago

@Anjaliavv51 please assign the level also

Anjaliavv51 commented 1 day ago

@Anjaliavv51 please assign the level also

will be added to the PR.