How jhonleeemboy-ops/ite-18 works
Disaster Ready is a barangay disaster-response system with resident and staff portals backed by a Laravel API. Residents register or sign in, then manage household details, view evacuation guidance and advisories, and request assistance. Staff manage household profiles, evacuation-center occupancy, relief distributions, dashboard information, and SMS alerts. The API persists operational records and can send alerts through TextBee. The README documents that all pages are API-connected; several page-level calls and unsampled controller internals are not shown in the excerpts, so those links use README evidence or are omitted.
Main entry points: api.php API routing · Models Operational records · router.js Page routing · api.js API client
Components 19
Vue portals
- Page routing
frontend/src/router.js - Sign-in and registration
frontend/src/pages/LoginPage.vue - Resident portal
frontend/src/pages/resident - Staff workspace
frontend/src/pages/staff - API client
frontend/src/api.js
API workflows
- API routing
backend/routes/api.php - Authentication
backend/app/Http/Controllers/AuthController.php - Staff dashboard
backend/app/Http/Controllers/DashboardController.php - Household profiles
backend/app/Http/Controllers/HouseholdController.php - Household members
backend/app/Http/Controllers/HouseholdMemberController.php - Evacuation centers
backend/app/Http/Controllers/EvacuationCenterController.php - Assistance requests
backend/app/Http/Controllers/IncidentController.php - Relief distribution
backend/app/Http/Controllers/ReliefController.php
Response records
- Operational records
backend/app/Models
Alert delivery
- SMS alert management
backend/app/Http/Controllers/SmsAlertController.php - SMS gateway sender
backend/app/Services/SmsSender.php
Other components
- Resident
- Barangay staff
- TextBee gateway
Connections 26
- Resident → Page routing: opens portal
README.md - Barangay staff → Page routing: opens workspace
README.md - Page routing → Sign-in and registration: routes to
frontend/src/router.js - Page routing → Resident portal: routes to
frontend/src/router.js - Page routing → Staff workspace: routes to
frontend/src/router.js - Sign-in and registration → API client: uses
frontend/src/pages/LoginPage.vue - Resident portal → API client: uses API
README.md - Staff workspace → API client: uses API
README.md - API client → API routing: requests API
README.md - API routing → Authentication: dispatches
backend/routes/api.php - API routing → Staff dashboard: dispatches
backend/routes/api.php - API routing → Household profiles: dispatches
backend/routes/api.php - API routing → Household members: dispatches
backend/routes/api.php - API routing → Evacuation centers: dispatches
backend/routes/api.php - API routing → Assistance requests: dispatches
backend/routes/api.php - API routing → Relief distribution: dispatches
backend/routes/api.php - API routing → SMS alert management: dispatches
backend/routes/api.php - Authentication → Operational records: reads and writes
backend/app/Http/Controllers/AuthController.php - Household profiles → Operational records: reads and writes
backend/app/Http/Controllers/HouseholdController.php - Household members → Operational records: reads and writes
backend/app/Http/Controllers/HouseholdMemberController.php - Evacuation centers → Operational records: reads and writes
backend/app/Http/Controllers/EvacuationCenterController.php - Assistance requests → Operational records: reads and writes
backend/app/Http/Controllers/IncidentController.php - Relief distribution → Operational records: reads and writes
backend/app/Http/Controllers/ReliefController.php - SMS alert management → Operational records: reads and writes
backend/app/Http/Controllers/SmsAlertController.php - SMS alert management → SMS gateway sender: sends alert
backend/app/Http/Controllers/SmsAlertController.php - SMS gateway sender → TextBee gateway: delivers SMS
README.md