How thefdaapproved/memoriasys works
Memoria is a cemetery-management web application for staff and public visitors. Its principal workflow spans grave discovery and allocation, burial/reservation records, lease monitoring, payments, and operational reporting; role-based portals expose these tasks, while the public locator presents cemetery plots and search. The graph also captures CMS/theme, SMS, and security/audit capabilities documented in the README. Source excerpts establish only selected backend dependencies, so UI-to-endpoint wiring is not inferred; README-backed capability edges are cited to README.md.
Main entry points: textbee.php TextBee gateway · reusable_functions.php Domain helpers · admin.html Admin portal · database.php Database connection
Components 29
Portals and mapping
- Public locator
index.html - Admin portal
admin.html - Office portal
office.html - Grounds portal
grounds.html - Interactive map
assets/js/map.js
Cemetery operations
- Grave search
api/search.php - Block management
api/blocks.php - Plot management
api/graves.php - Burial records
api/records.php - Reservations
api/reserve.php - Lease monitoring
api/monitor.php
Finance and oversight
- Payments
api/payments.php - Reports and exports
api/reports.php - Dashboard metrics
api/dashboard.php
Shared platform
- Accounts and roles
api/users.php - Authentication
api/auth.php - Session validation
api/checkuser.php - JWT library
api/jwt - Database connection
api/database.php - Encrypted audit logs
api/logger.php - Request throttling
api/ratelimit.php - Domain helpers
api/reusable_functions.php
CMS and messaging
- Site content CMS
api/imagemanager.php - Dynamic theming
api/rootcolors.php - SMS alerts
api/sms_alerts.php - TextBee gateway
api/textbee.php
Other components
- Public visitor
- Cemetery staff
- TextBee service
Connections 30
- Public visitor → Public locator: opens
README.md - Public locator → Interactive map: shows plots
README.md - Public locator → Grave search: searches graves
README.md - Cemetery staff → Admin portal: uses
README.md - Cemetery staff → Office portal: uses
README.md - Cemetery staff → Grounds portal: uses
README.md - Admin portal → Interactive map: allocates plots
README.md - Office portal → Reservations: supports reservations
README.md - Grounds portal → Reservations: supports reservations
README.md - Burial records → Plot management: assigns plots
README.md - Lease monitoring → SMS alerts: triggers reminders
README.md - SMS alerts → TextBee gateway: dispatches alerts
api/sms_alerts.php - TextBee gateway → TextBee service: sends SMS
api/textbee.php - Payments → Reports and exports: feeds financial reports
README.md - Admin portal → Site content CMS: customizes content
README.md - Admin portal → Dynamic theming: customizes colors
README.md - Authentication → Session validation: validates sessions
api/auth.php - Session validation → Database connection: queries users
api/checkuser.php - Session validation → JWT library: verifies tokens
api/checkuser.php - Database connection → Encrypted audit logs: logs failures
api/database.php - Database connection → Request throttling: loads middleware
api/database.php - TextBee gateway → Database connection: reads credentials
api/textbee.php - TextBee gateway → Domain helpers: uses helpers
api/textbee.php - SMS alerts → TextBee gateway: uses gateway
api/sms_alerts.php - Accounts and roles → TextBee gateway: uses gateway
api/users.php - Payments → Domain helpers: uses helpers
api/payments.php - Burial records → Domain helpers: uses helpers
api/records.php - Reservations → Domain helpers: uses helpers
api/reserve.php - Lease monitoring → Domain helpers: uses helpers
api/monitor.php - Reports and exports → Encrypted audit logs: uses audit
api/reports.php