How rodri1988/evacuacion-pee works
PEE is a mobile evacuation-counting and incident-coordination web app. The main workflow is brigade staff using the interface to record counts at meeting points; the app synchronizes shared state through Firebase, presents command-post totals and missing-person observations, and can open a printable fire-service report. Shared timer and event-reset controls support incident coordination. The README also describes browser-local persistence and a nominative/RUT register. The sampled code confirms Firebase authentication and realtime operations, but does not expose all rendering or persistence details, so some capability links rely on README documentation.
Main entry points: index.html Web interface · firebase-config.js Firebase configuration · app.js PEE counter
Components 15
Incident workflow
- PEE counter
js/app.js - Command-post totals
js/app.js - Missing-person register
js/app.js - Nominative / RUT
js/app.js - Fire-service report
js/app.js
Coordination tools
- Shared evacuation timer
js/app.js - Event reset
js/app.js
App and services
- Web interface
index.html - Brigade authentication
js/app.js - Realtime synchronization
js/app.js - Firebase configuration
js/firebase-config.js - Firebase Auth
- Firebase Realtime DB
- Browser persistence
Other components
- Brigade staff
Connections 18
- Brigade staff → Web interface: uses
README.md - Web interface → PEE counter: records counts
README.md - Web interface → Command-post totals: views totals
README.md - Web interface → Missing-person register: records names
README.md - Web interface → Nominative / RUT: records RUT
README.md - Web interface → Fire-service report: prints report
README.md - Web interface → Shared evacuation timer: controls timer
- Web interface → Event reset: resets event
- Brigade authentication → Firebase Auth: signs in
js/app.js - Realtime synchronization → Firebase Realtime DB: subscribes and writes
js/app.js - PEE counter → Firebase Realtime DB: updates counts
js/app.js - Missing-person register → Firebase Realtime DB: updates records
js/app.js - Command-post totals → Firebase Realtime DB: reads shared state
- Shared evacuation timer → Firebase Realtime DB: writes shared timer
- Event reset → Firebase Realtime DB: clears event data
js/app.js - Firebase configuration → Brigade authentication: configures app
js/app.js - Firebase configuration → Realtime synchronization: configures app
js/app.js - Web interface → Browser persistence: persists data
README.md