How rem0403/evie works
EVIE is a shared, offline-capable care timeline for epilepsy and autism caregiving. Caregivers join a circle, record seizures or quick logs, and share entries with the circle; the timeline and care summary turn those records into handoffs and clinician-ready reports. Distinct product stages include circle setup and membership, seizure capture, everyday care logging, shared schedules and support, emergency/care-plan access, and reporting/export. The excerpts establish the app routing, key writes, Firebase persistence, and summary calculations; other README-described branches are represented at their documented subsystem paths, with relationships omitted where source evidence was unavailable.
Main entry points: entries.js Entry records · App.jsx App navigation · LogSeizure.jsx Seizure capture · QuickLog.jsx Quick logs
Components 21
Circle & access
- App navigation
src/App.jsx - Circle setup
src/screens/Setup.jsx - Circle membership
src/data/circles.js
Care logging
- Shared timeline
src/screens/Timeline.jsx - Seizure capture
src/screens/LogSeizure.jsx - Quick logs
src/screens/QuickLog.jsx
Care coordination
- Care plan
src/screens/CarePlan.jsx - Emergency info
src/screens/Emergency.jsx - Caregiver schedule
src/screens/Schedule.jsx - Care handoff
src/components/Handoff.jsx - Medication tracking
src/components/TodayMeds.jsx - Goals & practice
src/screens/Goals.jsx - Support resources
src/screens/Support.jsx
Summaries & export
- Doctor summary
src/screens/Summary.jsx - Summary calculations
src/lib/summary.js - PDF & CSV export
src/lib/export.js
Shared data layer
- Sign-in & sync
src/firebase.js - Entry records
src/data/entries.js - Private attachments
src/data/clips.js
Other components
- Caregiver
- Firebase
Connections 28
- Caregiver → App navigation: opens app
src/App.jsx - App navigation → Sign-in & sync: ensures sign-in
src/App.jsx - App navigation → Circle membership: loads circle
src/App.jsx - Caregiver → Circle setup: starts circle
- Circle setup → Circle membership: creates circle
src/screens/Setup.jsx - Circle membership → Firebase: writes membership
src/data/circles.js - Sign-in & sync → Firebase: authenticates
src/firebase.js - Caregiver → Seizure capture: starts timer
- Seizure capture → Entry records: saves seizure
src/screens/LogSeizure.jsx - Seizure capture → Private attachments: attaches clip
src/screens/LogSeizure.jsx - Caregiver → Quick logs: records care
src/screens/QuickLog.jsx - Quick logs → Entry records: adds entry
src/screens/QuickLog.jsx - Quick logs → Private attachments: saves attachments
src/screens/QuickLog.jsx - Entry records → Firebase: syncs records
src/data/entries.js - Caregiver → Shared timeline: views updates
- Shared timeline → Entry records: subscribes entries
- Caregiver → Care plan: maintains plan
- Caregiver → Emergency info: opens emergency info
- Caregiver → Caregiver schedule: plans coverage
- Caregiver → Care handoff: takes over
- Caregiver → Medication tracking: logs dose
- Caregiver → Goals & practice: tracks practice
- Caregiver → Support resources: manages supports
- Caregiver → Doctor summary: requests report
- Doctor summary → Summary calculations: calculates report
src/screens/Summary.jsx - Summary calculations → PDF & CSV export: provides metrics
src/lib/export.js - Doctor summary → PDF & CSV export: downloads report
src/screens/Summary.jsx - PDF & CSV export → Summary calculations: uses calculations
src/lib/export.js