-
Notifications
You must be signed in to change notification settings - Fork 50
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
Implement User Signup and Login Functionality #3
Comments
Assigned @varma-101 |
please add the labels hacktoberfest and gssoc-extd |
I want to work on this |
ASSIGN me please @jinx-vi-0 |
Heyy i can help you out with this issue please assign it to me. |
Hei @jinx-vi-0 ; Is this Issue still open? I dont see any further progress?? |
@varma-101 any update ? |
yes i will deliver it tomorrow.Please add level labels to it. |
i've created a pr please verify it and add level labels and gssoc and hacktoberfest labels to it. |
Bro @jinx-vi-0 please verify it fast. |
Overview: This issue focuses on building the user authentication system for the application using Express.js and Passport.js. It will handle signup and login functionalities, allowing users to create accounts and authenticate via local strategy (username and password).
Goals:
Signup functionality: Allow users to register by providing a username, email, and password. Securely store passwords using bcrypt.
Login functionality: Implement login functionality that uses Passport.js for authenticating users with the local strategy (email and password).
Session Management: Use Passport.js to manage user sessions and persistent login across requests.
Technical Considerations:
Use bcrypt to hash and store passwords securely.
Implement Passport.js with the local strategy to handle email/password authentication.
Set up session management with express-session and Passport.js to handle persistent login sessions.
Create the following API routes:
POST /auth/signup: To register a new user.
POST /auth/login: To authenticate users using Passport.js and initiate a session.
GET /auth/logout: To log out a user and destroy their session.
Validate user inputs during signup to ensure strong passwords and valid email addresses.
The text was updated successfully, but these errors were encountered: