How alvarezcoding/car-maintenance-tracker works
This is a vehicle-maintenance tracker: users review service status, browse fluid and wheel services, update a service’s last-done mileage, or edit current mileage. The GUI delegates category lookup, status calculation, and data loading/saving to backend functions; the backend reads and writes JSON. The README describes a command-line app, but the sampled frontend is a PySide6 GUI, and it imports lowercase backend while the tree contains Backend.py. The graph reflects visible code, not verified runtime behavior; service updates in the GUI do not visibly save their changes.
Main entry points: frontend.py Tracker window · Backend.py Data loader
Components 11
User interface
- Tracker window
frontend.py - Service views
frontend.py - Mileage editor
frontend.py - Status display
frontend.py
Maintenance logic
- Category lookup
Backend.py - Status calculation
Backend.py - Service completion
frontend.py
Persistence
- Data loader
Backend.py - Data saver
Backend.py
Other components
- Driver
- Service JSON
Connections 11
- Driver → Tracker window: uses
frontend.py - Tracker window → Data loader: loads data
frontend.py - Tracker window → Service views: opens views
frontend.py - Service views → Category lookup: requests category
frontend.py - Service views → Service completion: selects service
frontend.py - Tracker window → Mileage editor: opens editor
frontend.py - Mileage editor → Data saver: saves mileage
frontend.py - Tracker window → Status display: shows status
frontend.py - Status display → Status calculation: requests status
frontend.py - Data loader → Service JSON: reads JSON
Backend.py - Data saver → Service JSON: writes JSON
Backend.py