How adeena-falah/carefree-aiding_caretakers_3 works
Carefree is a role-based caregiving and health-monitoring platform. Caretakers and guardians use separate portals to sign in and manage or review patient information; caretaker workflows include tasks, appointments, notifications, expenses, and health records. Analysts can use the documented stress and insurance-cost prediction capabilities. The API is the runtime entry point, with route modules handling domain operations and Oracle providing persistence. The excerpts confirm several API-to-database interactions and task/appointment notification calls; frontend wiring and prediction internals are not fully sampled, so those links are limited to documented capabilities.
Main entry points: main.py FastAPI app · database.py Oracle access · notifications.py Notifications · tasks.py Care tasks
Components 21
Web portals
- Caretaker portal
templates/caretaker.html - Guardian portal
templates/guardian.html - Login portal
templates/login.html
API workflows
- FastAPI app
main.py - Authentication
routes/auth.py - Patient management
routes/patients.py - Care tasks
routes/tasks.py - Appointments
routes/appointments.py - Notifications
routes/notifications.py - Expense tracking
routes/expenses.py
Health analytics
- Vitals records
routes/vitals.py - Symptom records
routes/symptoms.py - Prediction API
routes/predictions.py - Prediction models
ml_models.py - Lifestyle dataset
Sleep_health_and_lifestyle_dataset.csv - Insurance dataset
insurance.csv
Persistence
- Oracle access
database.py - Oracle database
carefree.sql
Other components
- Caretakers
- Guardians
- Analysts
Connections 28
- Caretakers → Login portal: sign in
- Guardians → Login portal: sign in
- Analysts → FastAPI app: request predictions
- Caretakers → Caretaker portal: manage care
- Guardians → Guardian portal: monitor care
- Login portal → FastAPI app: authenticate
- Caretaker portal → FastAPI app: use API
- Guardian portal → FastAPI app: use API
- FastAPI app → Authentication: dispatches
- FastAPI app → Patient management: dispatches
- FastAPI app → Care tasks: dispatches
- FastAPI app → Appointments: dispatches
- FastAPI app → Expense tracking: dispatches
- FastAPI app → Notifications: dispatches
- FastAPI app → Vitals records: dispatches
- FastAPI app → Symptom records: dispatches
- FastAPI app → Prediction API: dispatches
- Authentication → Oracle access: queries
- Patient management → Oracle access: queries
- Care tasks → Oracle access: queries
- Appointments → Oracle access: queries
- Notifications → Oracle access: queries
- Care tasks → Notifications: creates reminders
- Appointments → Notifications: creates reminders
- Oracle access → Oracle database: connects
- Prediction API → Prediction models: uses models
- Prediction models → Lifestyle dataset: uses data
- Prediction models → Insurance dataset: uses data