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

Create Backend #422

Open
2004shweta opened this issue Oct 13, 2024 · 1 comment
Open

Create Backend #422

2004shweta opened this issue Oct 13, 2024 · 1 comment

Comments

@2004shweta
Copy link

need to add login and signup page

@2004shweta
Copy link
Author

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 @tushargupta1504 assign me this task

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

No branches or pull requests

1 participant