-
Notifications
You must be signed in to change notification settings - Fork 62
Description
Currently, the GitHub Tracker focuses on fetching and displaying GitHub user activity 🎯. But to make it more personalized and scalable, we need to add an authentication system so users can securely log in and manage their activity history.
🛠️ What needs to be done:
Implement user authentication using Passport.js + MongoDB
Add Signup, Login, Logout functionality
Store passwords securely using bcryptjs
Use express-session to handle session-based authentication
Protect specific routes so only logged-in users can access them
(Optional) Connect authentication with frontend (React) for a smooth login flow
✅ Acceptance Criteria:
Users can sign up with a username & password
Users can log in and stay authenticated with sessions
Logged-in users can access protected routes (e.g., “My Tracked Profiles”)
Logged-out users get redirected to login page
Tests are added for signup & login routes (Jasmine)
📌 Why this is important?
Adding authentication will make the GitHub Tracker feel more personal 🚀. Instead of being a simple tracker, users can log in and save/manage their own tracked profiles, which takes the project one step closer to being a real-world production tool.