A modern, modular healthโtracking application built with Python and Flet.
Itโs designed to manage medications, reminders, schedules, appointments, and user health data.
The architecture follows a clean separation of concerns with repositories, validators, services, and a background scheduler.
- Add, edit, and view medications
- Dosage tracking
- Notes and status indicators
- Daily and weekly schedules
- Custom reminder offsets
- Automated reminder event generation
- Background scheduler thread
- UI notifications via Fletโs SnackBars
- Create and manage appointments
- Notes, location, date, and time
- Track when medication was taken
- Validation to ensure data integrity
- Basic user information
- Editable profile screen
- Toggle notifications
- App preferences
The project is structured into clear, maintainable layers.
- Screens for medications, appointments, schedules, dashboard, settings, and more
- A custom subclass of
ft.Pagethat acts as a dependency container
- Handle all database interactions
- Ensure data integrity before saving
- Business logic for schedules, reminders, notifications, and intake logs
- Expands schedules into actual datetime events
- Background thread that checks for due reminders every minute
health_app/
โ
โโโ data/
โโโ models/
โโโ screens/
โโโ services/
โโโ validators/
โโโ ui_types/
โโโ main.py
โโโ README.md
git clone https://github.com/reory/Health-Tracker-App.git
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python main.pyPlanned enhancements and future improvements:
- Add medication refill reminders
- Add data export/import (JSON or CSV)
- Add charts for intake history
- Add cloud sync or optional online backup
- Add multiโuser profiles
- Add theme customisation (colour palettes)
- Add optional biometric lock (Windows Hello / Touch ID)
๐งช Test File A strippedโdown test file (test.py) is included for isolating UI behaviour.
๐ค Contributions Contributions are welcome as always.
๐ค Author โ Roy Peters Enjoy architecting clean, maintainable Python applications with clarity and purpose for everyone.