How charlesevangeliojr/consultation-app works
This is a school consultation web app. Students register or sign in, browse approved teachers and available times, and book a slot or propose a time; teachers manage availability and respond to requests. Administrators manage accounts, permissions, school catalogs, settings, and consultation oversight. The graph reflects the documented capabilities and sampled controller/model relationships; several route targets, middleware behaviors, and background request-expiry details are identified by the README or source index but were not inspected in full.
Main entry points: web.php Web routes · ConsultationController.php Consultation actions · ConsultationAppointment.php Appointments · User.php User and access model
Components 28
Web entry and identity
- Web routes
routes/web.php - Registration
app/Http/Controllers/Auth/RegistrationController.php - Admin login
app/Http/Controllers/Auth/AdminLoginController.php - User profiles
app/Http/Controllers/StudentProfileController.php - Teacher profile
app/Http/Controllers/TeacherProfileController.php
Consultation workflow
- Consultation actions
app/Http/Controllers/ConsultationController.php - Student dashboard
app/Http/Controllers/StudentDashboardController.php - Request expiry
app/Console/Commands/RejectStaleConsultationRequests.php - Proposed request rules
app/Support/ProposedConsultationRequests.php - Teacher availability
resources/views/teacher/availability.blade.php - Student booking
resources/views/student/browse.blade.php - Consultation calendars
resources/views/teacher/calendar.blade.php - Teacher requests
resources/views/teacher/requests.blade.php
Administration
- Account management
app/Http/Controllers/Admin/AdminAccountsController.php - School catalogs and approval
app/Http/Controllers/Admin/SchoolController.php - Roles and permissions
app/Http/Controllers/Admin/AdminRolesController.php - Site settings
app/Http/Controllers/Admin/SiteSettingsController.php - Consultation oversight
resources/views/admin/consultations.blade.php
Domain and persistence
- User and access model
app/Models/User.php - Student profile model
app/Models/Student.php - Teacher profile model
app/Models/Teacher.php - Appointments
app/Models/ConsultationAppointment.php - Availability records
app/Models/ConsultationAvailability.php - School catalogs
app/Models/GradeLevel.php - Roles and permissions
app/Models/Role.php - Queue settings
app/Models/SiteSetting.php
Other components
- Students, teachers, admins
- Application database
Connections 40
- Students, teachers, admins → Web routes: request pages
routes/web.php - Web routes → Registration: routes to
routes/web.php - Web routes → Admin login: routes to
routes/web.php - Web routes → Consultation actions: routes to
routes/web.php - Web routes → Account management: routes to
routes/web.php - Web routes → School catalogs and approval: routes to
routes/web.php - Web routes → Roles and permissions: routes to
routes/web.php - Web routes → Site settings: routes to
routes/web.php - Web routes → User profiles: routes to
routes/web.php - Web routes → Teacher profile: routes to
routes/web.php - Web routes → Student dashboard: routes to
routes/web.php - Registration → User and access model: creates account
app/Http/Controllers/Auth/RegistrationController.php - Registration → Student profile model: creates profile
app/Http/Controllers/Auth/RegistrationController.php - Registration → Teacher profile model: creates profile
app/Http/Controllers/Auth/RegistrationController.php - Registration → Roles and permissions: assigns role
app/Http/Controllers/Auth/RegistrationController.php - Consultation actions → Availability records: reads slots
app/Http/Controllers/ConsultationController.php - Consultation actions → Appointments: reads and books
app/Http/Controllers/ConsultationController.php - Consultation actions → User and access model: loads teachers
app/Http/Controllers/ConsultationController.php - Consultation actions → Queue settings: reads visibility
app/Http/Controllers/ConsultationController.php - Consultation actions → Proposed request rules: rejects overlaps
app/Http/Controllers/ConsultationController.php - Consultation actions → Student booking: renders booking
app/Http/Controllers/ConsultationController.php - Consultation actions → Consultation calendars: renders calendar
app/Http/Controllers/ConsultationController.php - Consultation actions → Teacher requests: renders requests
app/Http/Controllers/ConsultationController.php - Student dashboard → Appointments: reads bookings
app/Http/Controllers/StudentDashboardController.php - Request expiry → Appointments: expires requests
- Proposed request rules → Appointments: updates proposals
app/Support/ProposedConsultationRequests.php - Account management → User and access model: manages accounts
app/Http/Controllers/Admin/AdminAccountsController.php - Account management → Roles and permissions: checks roles
app/Http/Controllers/Admin/AdminAccountsController.php - School catalogs and approval → School catalogs: manages catalogs
app/Http/Controllers/Admin/SchoolController.php - School catalogs and approval → Appointments: reads oversight
app/Http/Controllers/Admin/SchoolController.php - School catalogs and approval → Availability records: reads oversight
app/Http/Controllers/Admin/SchoolController.php - Roles and permissions → Roles and permissions: manages roles
app/Http/Controllers/Admin/AdminRolesController.php - Site settings → Queue settings: updates settings
app/Http/Controllers/Admin/SiteSettingsController.php - User and access model → Roles and permissions: has role
app/Models/User.php - User and access model → Student profile model: has profile
app/Models/User.php - User and access model → Teacher profile model: has profile
app/Models/User.php - Appointments → Availability records: belongs to
app/Models/ConsultationAppointment.php - Availability records → Appointments: has appointments
app/Models/ConsultationAvailability.php - School catalogs → Application database: persists catalog
- Appointments → Application database: persists bookings