How theshivam06/prepwise works
Prepwise is a study-planning PWA with local exam, session and schedule management, plus optional Cloudflare-backed Web Push reminders. The main user workflow is to organize study work in the browser, schedule or import sessions, and receive reminders; push setup registers a device and queues reminders for server delivery. The excerpts establish key client storage/import behavior and worker push operations, but not all UI handlers or API routing, so unsupported connections are omitted.
Main entry points: app.js Import review · worker.js Push API · sw.js PWA service worker
Components 11
Study planning
- Study planner
universal_exam_prep/app.js - Browser study data
Schedule import
- Import review
universal_exam_prep/app.js - Import drafts/history
Push reminders
- Push setup
universal_exam_prep/app.js - Push API
src/worker.js - Notification database
- Registered device
Runtime platform
- PWA service worker
universal_exam_prep/sw.js
Other components
- Student
- Web Push service
Connections 10
- Student → Study planner: manages study
- Study planner → Browser study data: reads and writes
universal_exam_prep/app.js - Student → Import review: imports schedule
- Import review → Import drafts/history: saves drafts/history
universal_exam_prep/app.js - Import review → Browser study data: writes sessions
universal_exam_prep/app.js - Push setup → Push API: push requests
- Push API → Notification database: queries and updates
src/worker.js - Push API → Web Push service: sends encrypted push
src/worker.js - Web Push service → PWA service worker: delivers push event
- PWA service worker → Registered device: shows notification
universal_exam_prep/sw.js