How barrato14/test-systeml works
EMIS is a PHP event-management system with participant and administrator workflows: users authenticate, browse/register for events, manage equipment borrowing, and record attendance; administrators manage events, users, equipment, and attendance. Supabase REST is the shared persistence layer, with optional face-recognition and email integrations. The graph emphasizes relationships visible in excerpts or the source index; unsampled capabilities are represented without speculative call edges.
Main entry points: database.php Supabase REST · mail.php Email Delivery · login.php Sign-in · set-session.php Social Session
Components 26
Identity & Access
- Sign-in
login.php - Social Session
set-session.php - Registration
register.php - Profile Completion
complete-google-profile.php
Participant Portal
- Participant Dashboard
participant/dashboard.php - Browse Events
participant/browse-events.php - My Events
participant/my-events.php - Equipment Borrowing
participant/equipment.php - My Borrowings
participant/my-borrowings.php - Check-in & Timeout
participant/process-check-in.php - Face Registration
participant/face-registration.php - Event QR
participant/my-qr.php
Administration
- Admin Dashboard
admin/dashboard.php - Event Management
admin/events.php - Equipment Management
admin/equipment.php - User Management
admin/users.php - Attendance Logs
admin/attendance-logs.php
Shared Services
- Supabase REST
config/database.php - Session & Roles
includes/auth.php - Face Client
includes/face-service.php - Face Service
face-service/app.py - Email Delivery
includes/mail.php - Weather Widget
includes/weather-widget.php
Other components
- User
- Supabase
- Brevo
Connections 31
- User → Sign-in: signs in
login.php - User → Registration: registers
- User → Social Session: authenticates
set-session.php - Social Session → Profile Completion: routes new users
set-session.php - Sign-in → Supabase REST: queries profiles
login.php - Registration → Supabase REST: stores profile
register.php - Registration → Email Delivery: sends verification
register.php - Social Session → Supabase REST: queries profiles
set-session.php - Profile Completion → Supabase REST: updates profile
complete-google-profile.php - Sign-in → Session & Roles: uses sessions
login.php - Participant Dashboard → Supabase REST: loads dashboard data
participant/dashboard.php - Participant Dashboard → Weather Widget: renders weather
participant/dashboard.php - Browse Events → Supabase REST: loads events
participant/browse-events.php - My Events → Supabase REST: loads registrations
participant/my-events.php - Equipment Borrowing → Supabase REST: requests equipment
participant/equipment.php - My Borrowings → Supabase REST: loads requests
participant/my-borrowings.php - Check-in & Timeout → Supabase REST: records attendance
participant/process-check-in.php - Check-in & Timeout → Face Client: checks face
participant/process-check-in.php - Face Registration → Supabase REST: loads registration data
participant/face-registration.php - Face Client → Face Service: posts recognition request
includes/face-service.php - Event QR → Email Delivery: sends QR email
participant/my-qr.php - Admin Dashboard → Supabase REST: loads metrics
admin/dashboard.php - Admin Dashboard → Weather Widget: renders weather
admin/dashboard.php - Event Management → Supabase REST: manages events
admin/events.php - Event Management → Email Delivery: sends announcements
admin/events.php - Equipment Management → Supabase REST: manages equipment
admin/equipment.php - User Management → Supabase REST: manages users
admin/users.php - Attendance Logs → Supabase REST: loads attendance
admin/attendance-logs.php - Email Delivery → Brevo: sends email
includes/mail.php - Face Service → User: processes face data
- Supabase REST → Supabase: REST requests
config/database.php