Track car maintenance with an offline-first PWA that can sync to your own server.
- Serve the files locally (for example):
python -m http.server 8000
- Open http://localhost:8000 in your browser.
- Add vehicles, service records, and mileage readings. Data is stored locally (localStorage).
- Use Export JSON to back up or move data; Import JSON restores a backup.
- The service worker caches assets so the UI works offline after first load.
- Start the API locally (same LAN as your device):
docker-compose up -d
- API listens on
http://<server-ip>:5000(configureAUTH_TOKENenv var if you want a bearer token). - Data persists under
api/data/.
- API listens on
- Open
settings.html, set the API Base URL (e.g.,http://192.168.x.x:5000) and token if configured, then save. - Use “Queue Sync” on any page to push/pull data. Visit
sync.htmlto see sync history and server-side data snapshots. The API merges byupdatedAtand returns the merged dataset.