How leonard0nt/citascolegio works
Citas Colegio is a PHP/MySQL school appointment manager. Its main workflow is an administrator or teacher signing in, maintaining teacher and student/guardian records, scheduling meetings, then viewing the day’s meetings publicly. The graph retains CSV imports, profiles, role-protected pages, and meeting options alongside that flow. Some page-to-endpoint wiring and unsampled CRUD implementations are not shown; those links are marked unverified rather than inferred as source-level calls.
Main entry points: session.php Session and role guards · meetings.php Meeting management · upload-teachers.php Teacher CSV import · upload-students.php Student CSV import
Components 28
Access and profiles
- Login page
login.php - Authentication endpoints
backend/auth/login.php - Session and role guards
includes/session.php - Private dashboard
dashboard.php - User profile
profile.php - Profile update
backend/users/profile-update.php
People administration
- Teacher administration
users.php - Teacher records
backend/users/create.php - Teacher profile helpers
backend/users/teacher-profile-helpers.php - Teacher CSV import
backend/users/upload-teachers.php - Student administration
students.php - Student records
backend/users/update.php - Student and guardian helpers
backend/users/student-profile-helpers.php - Student CSV import
backend/users/upload-students.php - CSV import helpers
backend/users/bulk-import-helpers.php - CSV encoding helpers
backend/users/encoding-helpers.php
Meeting agenda
- Meeting management
meetings.php - Create meeting
backend/meetings/create.php - List meetings
backend/meetings/list.php - Delete meeting
backend/meetings/delete.php - Meeting options
backend/meetings/options.php - Meeting schema helpers
backend/meetings/schema-helpers.php - Public day view
today-meetings.php - Public day endpoint
backend/meetings/today-public.php
Persistence
- Database config loader
includes/config-path.php - PDO connection
config/database.php - MySQL or MariaDB
Other components
- Administrator or teacher
Connections 33
- Administrator or teacher → Login page: opens
README.md - Login page → Authentication endpoints: authenticates
- Authentication endpoints → Database config loader: loads connection
backend/auth/login.php - Authentication endpoints → Teacher profile helpers: uses profile helpers
backend/auth/login.php - Login page → Session and role guards: uses guards
login.php - Private dashboard → Session and role guards: uses guards
dashboard.php - Teacher administration → Session and role guards: requires admin
users.php - Student administration → Session and role guards: requires admin
students.php - User profile → Session and role guards: uses guards
profile.php - User profile → Profile update: updates profile
- Teacher administration → Teacher records: manages teachers
- Teacher administration → Teacher CSV import: imports CSV
- Teacher records → Teacher profile helpers: uses profile helpers
backend/users/create.php - Teacher CSV import → Teacher profile helpers: uses profile helpers
backend/users/upload-teachers.php - Teacher CSV import → CSV encoding helpers: normalizes CSV
backend/users/upload-teachers.php - Teacher CSV import → CSV import helpers: uses import helpers
backend/users/upload-teachers.php - Student administration → Student records: manages students
- Student administration → Student CSV import: imports CSV
- Student CSV import → Student and guardian helpers: saves student records
backend/users/upload-students.php - Student CSV import → CSV encoding helpers: normalizes CSV
backend/users/upload-students.php - Student CSV import → CSV import helpers: uses import helpers
backend/users/upload-students.php - Student records → Student and guardian helpers: uses profile helpers
backend/users/update.php - Meeting management → Create meeting: schedules meeting
- Meeting management → List meetings: views meetings
- Meeting management → Delete meeting: deletes meeting
- Meeting management → Meeting options: loads options
- Create meeting → Database config loader: loads connection
backend/meetings/create.php - Create meeting → Meeting schema helpers: ensures schema
backend/meetings/create.php - List meetings → Database config loader: loads connection
backend/meetings/list.php - List meetings → Teacher profile helpers: uses profile helpers
backend/meetings/list.php - Public day view → Public day endpoint: shows daily meetings
- Database config loader → PDO connection: loads
includes/config-path.php - PDO connection → MySQL or MariaDB: connects PDO
config/database.php