How souvik-dey-2029/medicine-reminder works
Medicine Reminder is an offline-first medicine adherence PWA. Users manage medicines and schedules, receive dose reminders, record adherence, and review analytics and achievements; voice commands and counterfeit checks provide additional capabilities. The app coordinates initialization and dashboard navigation, while domain modules use IndexedDB through DataStore. The source excerpts show several module-to-store calls and app dispatches; other README-listed capabilities are represented without inferred implementation links where wiring was not shown.
Main entry points: datastore.js IndexedDB Store · app.js App Coordinator · voice.js Voice Commands · notifications.js Reminder Service
Components 14
Application
- App Coordinator
js/app.js - Authentication
login.html - Dashboard UI
index.html - Shared Utilities
js/utils.js - Voice Commands
js/voice.js
Medication Care
- Medicine Management
js/medicine.js - Reminder Service
js/notifications.js - IndexedDB Store
js/datastore.js
Adherence Insights
- Adherence Analytics
js/analytics.js - Achievements
js/achievements.js
Safety and Offline
- Counterfeit Detector
js/counterfeit.js - Offline Cache
service-worker.js
Other components
- User
- Browser APIs
Connections 16
- User → Dashboard UI: uses
README.md - User → Authentication: signs in
README.md - App Coordinator → IndexedDB Store: initializes
js/app.js - App Coordinator → Adherence Analytics: refreshes
js/app.js - App Coordinator → Achievements: refreshes
js/app.js - Medicine Management → IndexedDB Store: reads and writes
js/medicine.js - Medicine Management → Achievements: checks
js/medicine.js - Reminder Service → IndexedDB Store: reads schedules
js/notifications.js - Reminder Service → App Coordinator: updates dashboard
js/notifications.js - Adherence Analytics → IndexedDB Store: reads adherence
js/analytics.js - Achievements → IndexedDB Store: reads progress
js/achievements.js - Voice Commands → App Coordinator: navigates
js/voice.js - Voice Commands → IndexedDB Store: queries adherence
js/voice.js - Offline Cache → Browser APIs: caches assets
service-worker.js - Browser APIs → Reminder Service: delivers notifications
README.md - Browser APIs → Voice Commands: provides speech
README.md