How yashkappa/attendance-management-system works
This repository implements a role-based attendance management system with separate Admin, Teacher, HOD, and Student experiences. The principal workflow is: a user enters through the React router, authenticates for a role, reaches a role dashboard, and reads or manages attendance, schedules, notifications, and analytics through the Express/Mongoose backend. It also contains a separate portfolio-style React surface with project, activity, video, and hobby sections. Some role-to-API calls are inferred only from route names and sampled dashboard code, so unsupported links are omitted.
Components 26
Application Entry
- React Router
src/index.js - Session App
src/App.js
Role Portals
- Admin Login
src/components/Admin/AdminLogin.js - Teacher Login
src/components/Teacher/TechLogin.js - HOD Login
src/components/Hod/HodLogin.js - Student Login
src/components/Student/StuLogin.js - Admin Portal
src/components/Admin/Admin.js - Teacher Portal
src/components/Teacher/Dashboard.js - HOD Portal
src/components/Hod/HodDash.js - Student Portal
src/components/Student/StuDash.js
Attendance Features
- Admin Management
src/components/Admin/Student/Student_Dash.js - Teacher Analytics
src/components/Admin/Teacher/Teacher_Dash.js - Attendance Review
src/components/Hod/Studentattend.js - Defaulter View
src/components/Hod/Defaulter.js - Student Attendance
src/components/Student/Attendance.js - Notifications
src/components/Student/Notification.js
Backend Data
- Express API
backend/server.js - MongoDB
Portfolio Showcase
- Portfolio App
components/App.js - Portfolio Sections
components/home/Home.js - Project Gallery
components/Project/Project.js - Activity Feed
components/Activity/Activity.js - Video Library
components/Youtube/Youtube.js - Hobbies Gallery
components/Hobbies/Hobbies.js
Other components
- User
- GitHub Services
Connections 27
- User → React Router: opens app
- React Router → Session App: routes requests
- Session App → Admin Login: renders login
- Session App → Teacher Login: renders login
- Session App → HOD Login: renders login
- Session App → Student Login: renders login
- Session App → Admin Portal: restores session
- Session App → Teacher Portal: restores session
- Session App → HOD Portal: restores session
- Session App → Student Portal: restores session
- Admin Portal → Admin Management: opens management
- Teacher Portal → Teacher Analytics: opens analytics
- HOD Portal → Attendance Review: opens attendance
- Attendance Review → Defaulter View: shows defaulters
- Student Portal → Student Attendance: opens attendance
- Student Portal → Notifications: opens notices
- Admin Management → Express API: fetches students
- Teacher Analytics → Express API: fetches attendance
- Attendance Review → Express API: fetches records
- Express API → MongoDB: reads and writes
- Portfolio App → Portfolio Sections: renders sections
- Portfolio App → Project Gallery: renders projects
- Portfolio App → Activity Feed: renders activity
- Portfolio App → Video Library: renders videos
- Portfolio App → Hobbies Gallery: renders hobbies
- Project Gallery → GitHub Services: fetches repositories
- Activity Feed → GitHub Services: embeds activity