How rojojohnjoshua/capstone works
Holy Family Parish is a parishioner and staff portal for appointments, service reservations, and centralized sacramental records. Parishioners authenticate, submit requests, and track their status; administrators manage bookings and records, with reporting and operational tools alongside the main workflow. The React client uses the PHP JSON API and MySQL, while the README also documents legacy server-rendered PHP pages using the same database. Some feature connections are based on README statements or the source index because their implementation excerpts were not provided.
Components 18
Parishioner and Admin Portal
- React Application
client/src/App.jsx - Login and Registration
client/src/context/AuthContext.jsx - API Client
client/src/services/api.js - Parishioner Features
client/src/pages - Admin Workspace
client/src/pages/admin
PHP API and Workflows
- API Session Setup
server/config/init.php - Authentication API
server/api/auth - Appointments and Reservations
server/api/reservations/index.php - Records API
server/api/records - Reporting and Admin APIs
server/api/reports
Parish Operations
- Schedule Rules
server/utils/schedule.php - Document Handling
server/utils/documents.php - Notifications
server/utils/notifications.php - SMS Delivery
server/utils/sms.php
Persistence and Legacy Pages
- MySQL Database
server/config/database.php - Legacy PHP Pages
includes/init.php
Other components
- Parishioner
- Parish Staff
Connections 21
- Parishioner → React Application: uses portal
README.md - Parish Staff → React Application: manages services
README.md - React Application → Login and Registration: provides access
client/src/App.jsx - React Application → Parishioner Features: routes users
client/src/App.jsx - React Application → Admin Workspace: routes admins
client/src/App.jsx - Login and Registration → API Client: requests auth
client/src/context/AuthContext.jsx - Parishioner Features → API Client: requests services
- Admin Workspace → API Client: requests management
- API Client → API Session Setup: calls PHP API
- API Session Setup → Authentication API: sets API session
server/config/init.php - API Session Setup → Appointments and Reservations: sets API session
server/config/init.php - Appointments and Reservations → Schedule Rules: checks availability
server/api/reservations/index.php - Appointments and Reservations → Document Handling: handles documents
server/api/reservations/index.php - Appointments and Reservations → Notifications: creates notices
server/api/reservations/index.php - Appointments and Reservations → SMS Delivery: sends SMS
server/api/reservations/index.php - Appointments and Reservations → MySQL Database: reads and writes
server/api/reservations/index.php - Authentication API → MySQL Database: reads and writes
- Records API → MySQL Database: manages records
- Reporting and Admin APIs → MySQL Database: queries reports
- SMS Delivery → MySQL Database: reads configuration
server/utils/sms.php - Legacy PHP Pages → MySQL Database: shares database
README.md