How valkan00/academia-front-end works
This is a role-based college management frontend: visitors browse public college information, while authenticated administrators, instructors and students enter protected dashboards for academic operations and learning workflows. The graph groups the broad product capabilities into cohesive areas and includes the shared API/authentication layer. The README is empty; several subsystems are represented from the file tree, so their internal links are omitted where source evidence was unavailable.
Main entry points: App.jsx Application router · apiClient.js HTTP API client · AuthContext.jsx Session management · NotificationContext.jsx Notifications
Components 26
Entry and access
- Application router
college-system/src/App.jsx - Session management
college-system/src/context/AuthContext.jsx - Route guards
college-system/src/components/ProtectedRoute.jsx - Public college pages
college-system/src/pages/LandingPage.jsx - Login page
college-system/src/pages/LoginPage.jsx
Administration
- Admin dashboard
college-system/src/pages/AdminDashboard.jsx - Academic management
college-system/src/pages/AcademicManagementPage.jsx - User management
college-system/src/pages/UserManagementPage.jsx - Finance and payments
college-system/src/pages/FinancialManagementPage.jsx - Admin attendance
college-system/src/pages/AttendanceForAdmin.jsx
Teaching and learning
- Instructor workspace
college-system/src/pages/DoctorDashboard.jsx - Task authoring and grading
college-system/src/components/doctors/Tasks/TaskDashboard.jsx - Student assignments
college-system/src/components/student/Tasks/StudentTasksDashboard.jsx
Student services
- Course registration
college-system/src/pages/StudentRegistrationPage.jsx - Student community
college-system/src/pages/CommunityPage.jsx - Student attendance
college-system/src/pages/AttendanceForStudents.jsx - Course materials
college-system/src/pages/StudentMatrialsPage.jsx
Shared platform
- Notifications
college-system/src/context/NotificationContext.jsx - Task API service
college-system/src/services/tasks.js - Authentication service
college-system/src/services/authService.js - HTTP API client
college-system/src/services/apiClient.js - Notification service
college-system/src/services/notifications.js - Realtime socket service
college-system/src/services/socketService.js
Other components
- Visitor
- College user
- College API
Connections 26
- Visitor → Public college pages: browses
- College user → Login page: signs in
- Login page → Session management: authenticates
- Application router → Public college pages: routes to
college-system/src/App.jsx - Application router → Login page: routes to
college-system/src/App.jsx - Application router → Route guards: protects routes
college-system/src/App.jsx - Application router → Session management: provides session
college-system/src/App.jsx - Application router → Notifications: provides notifications
college-system/src/App.jsx - Session management → Authentication service: calls
college-system/src/context/AuthContext.jsx - Session management → HTTP API client: sets token
college-system/src/context/AuthContext.jsx - Authentication service → HTTP API client: sends requests
college-system/src/services/authService.js - Admin dashboard → Admin attendance: offers attendance
- Task authoring and grading → Task API service: manages tasks
college-system/src/components/doctors/Tasks/TaskDashboard.jsx - Student assignments → Task API service: loads assignments
college-system/src/components/student/Tasks/StudentTasksDashboard.jsx - Task API service → HTTP API client: sends requests
college-system/src/services/tasks.js - Notifications → Notification service: calls
college-system/src/context/NotificationContext.jsx - Notifications → Realtime socket service: uses realtime
college-system/src/context/NotificationContext.jsx - Notification service → HTTP API client: sends requests
- HTTP API client → College API: sends API requests
college-system/src/services/apiClient.js - Academic management → College API: manages academic data
- User management → College API: manages accounts
- Finance and payments → College API: manages payments
- Course registration → College API: registers courses
- Student community → College API: manages community
- Student attendance → College API: reads attendance
- Course materials → College API: loads materials