# 🎓 COLLEGE PORTAL - COMPLETE LOGIN CREDENTIALS

## 🚀 Quick Access URLs

- **Admin Portal:** http://127.0.0.1:8000/login
- **Staff Portal:** http://127.0.0.1:8000/staff/login
- **Student Portal:** http://127.0.0.1:8000/student/login

---

## 👨‍💼 ADMIN CREDENTIALS

| Field | Value |
|-------|-------|
| **URL** | http://127.0.0.1:8000/login |
| **Email** | admin@college.com |
| **Password** | password |

---

## 👨‍🏫 STAFF CREDENTIALS

**URL:** http://127.0.0.1:8000/staff/login

| Staff ID | Name | Password (DOB) |
|----------|------|----------------|
| FAC001 | Dr. Rajesh Kumar | 1976-02-05 |
| FAC002 | Prof. Priya Sharma | 1983-02-05 |
| FAC003 | Dr. Amit Patel | 1980-02-05 |
| FAC004 | Prof. Sneha Reddy | 1977-02-05 |
| FAC005 | Dr. Vikram Singh | 1976-02-05 |
| FAC006 | Prof. Anjali Gupta | 1979-02-05 |
| FAC007 | Dr. Suresh Nair | 1976-02-05 |
| FAC008 | Prof. Kavita Desai | 1978-02-05 |
| FAC009 | Dr. Ramesh Rao | 1980-02-05 |
| FAC010 | Prof. Deepa Menon | 1986-02-05 |

**Note:** Login with Staff ID as username and DOB as password

---

## 👨‍🎓 STUDENT CREDENTIALS

**URL:** http://127.0.0.1:8000/student/login

| Student ID | Name | Password (DOB) | Department |
|------------|------|----------------|------------|
| STU001 | Aarav Sharma | 2008-02-05 | Computer Science |
| STU002 | Diya Patel | 2005-02-05 | Computer Science |
| STU003 | Arjun Kumar | 2005-02-05 | Computer Science |
| STU004 | Ananya Singh | 2007-02-05 | Computer Science |
| STU005 | Rohan Gupta | 2005-02-05 | Electronics |
| STU006 | Isha Reddy | 2005-02-05 | Electronics |
| STU007 | Vivaan Nair | 2005-02-05 | Electronics |
| STU008 | Saanvi Desai | 2005-02-05 | Electronics |
| STU009 | Aditya Rao | 2006-02-05 | Mechanical |
| STU010 | Kiara Menon | 2008-02-05 | Mechanical |
| STU011 | Vihaan Joshi | 2007-02-05 | Mechanical |
| STU012 | Navya Iyer | 2006-02-05 | Mechanical |
| STU013 | Kabir Mehta | 2005-02-05 | Civil |
| STU014 | Aanya Pillai | 2005-02-05 | Civil |
| STU015 | Reyansh Bhat | 2005-02-05 | Civil |
| STU016 | Myra Nambiar | 2005-02-05 | Civil |
| STU017 | Ayaan Kaur | 2006-02-05 | Information Technology |
| STU018 | Zara Kapoor | 2004-02-05 | Information Technology |
| STU019 | Shaurya Malhotra | 2004-02-05 | Information Technology |
| STU020 | Pari Khanna | 2002-02-05 | Information Technology |

**Note:** Login with Student ID as username and DOB as password

---

## 🎯 RECOMMENDED DEMO FLOW

### 1. Admin Workflow (5 minutes)
1. Login: http://127.0.0.1:8000/login
   - Email: admin@college.com
   - Password: password
2. View Dashboard (statistics cards)
3. Navigate: Departments → View 5 departments
4. Navigate: Subjects → View 24 subjects with categories
5. Navigate: Staff → View 10 staff members
6. Navigate: Students → View 20 students
7. Navigate: Settings → Show Dynamic System Limits
8. Navigate: Allocations → View all student-faculty mappings
9. Logout

### 2. Staff Workflow (3 minutes)
1. Login: http://127.0.0.1:8000/staff/login
   - Staff ID: FAC001
   - Password: 1976-02-05
2. View Dashboard
3. Navigate: My Subjects → Show assigned subjects
4. Navigate: My Students → Show enrolled students
5. Navigate: Select Subjects → Try selecting 6th subject (limit test)
6. Logout

### 3. Student Workflow (4 minutes)
1. Login: http://127.0.0.1:8000/student/login
   - Student ID: STU001
   - Password: 2008-02-05
2. View Dashboard → Show credit usage cards
3. Navigate: Subject Allocation → Browse categories
4. Select a subject → Choose faculty → Enroll
5. View My Subjects → Show enrolled courses
6. Try to exceed credit limit (validation test)
7. Remove a subject → Show credits decrease
8. Logout

---

## 📋 QUICK TESTING CHECKLIST

### Admin Features ✅
- [ ] Login successful
- [ ] Dashboard shows correct statistics
- [ ] Can view departments (5 total)
- [ ] Can view subjects with categories (24 total)
- [ ] Subject creation form has "Category" field
- [ ] Can view staff (10 total)
- [ ] Can view students (20 total)
- [ ] Settings page shows Dynamic System Limits
- [ ] Can view all allocations

### Staff Features ✅
- [ ] Login with Staff ID and DOB
- [ ] Dashboard shows welcome message
- [ ] Can view assigned subjects (2-4 subjects)
- [ ] Can view enrolled students
- [ ] Can select additional subjects
- [ ] Limit validation (max 5 subjects)
- [ ] Full subjects show as disabled

### Student Features ✅
- [ ] Login with Student ID and DOB
- [ ] Dashboard shows credit usage cards
- [ ] Can browse subjects by category
- [ ] Can select subject with faculty
- [ ] Credits update after enrollment
- [ ] Can view enrolled subjects
- [ ] Can remove subjects
- [ ] Credit limit validation works
- [ ] Error shown when exceeding limits

---

## 🔧 TROUBLESHOOTING

### Server Not Running
```bash
cd c:\xampp\htdocs\nishanth\college-portal
php artisan serve
```

### Database Empty
```bash
php artisan migrate:fresh --seed
```

### Login Issues
- Verify exact credentials (case-sensitive)
- Date format must be YYYY-MM-DD
- Clear browser cache if needed

---

## 📚 ADDITIONAL RESOURCES

- **Interactive Demo Guide:** Open `INTERACTIVE_WORKFLOW_DEMO.html` in your browser
- **Complete Workflow Guide:** See `COMPLETE_WORKFLOW_DEMO.md`
- **Seed Data Info:** See `SEED_DATA_INFO.md`

---

**🎉 Ready to Demo!**

All credentials are verified and ready to use. The server is running at http://127.0.0.1:8000

For the best demo experience:
1. Open the INTERACTIVE_WORKFLOW_DEMO.html file (already opened in your browser)
2. Follow the step-by-step instructions for each user role
3. Use the credentials above to login
4. Check off items in the testing checklist as you go

**Happy Demonstrating! 🚀**
