How janapalanithish/gate-prep-app works
This is a GATE exam-preparation app for organizing syllabus progress, daily study, revision, and test results. The user-facing flow enters through the React app and its preparation pages; those pages work with app state and local persistence. Distinct workflows cover branch setup, syllabus checklists, daily tasks and focus sessions, mock-test tracking, and settings/backup. The sampled sources show selected page-to-helper relationships, but App routing and much of the store implementation were not inspected, so those connections are omitted.
Main entry points: DailyActivityPage.tsx Daily activity · storage.ts Local persistence · main.tsx React entry · types.ts Domain types
Components 21
App experience
- React entry
src/main.tsx - App shell
src/App.tsx
Study workflows
- Branch setup
src/pages/BranchSetupPage.tsx - Syllabus checklist
src/pages/ChecklistHubPage.tsx - Exam countdown
src/components/GateCountdown.tsx - Daily activity
src/pages/DailyActivityPage.tsx - Focus timer
src/components/PomodoroTimer.tsx - Task manager
src/pages/TasksPage.tsx - Duration calculator
src/pages/DurationCalculatorPage.tsx - Mock-test log
src/pages/MockTestLogPage.tsx - Settings and backup
src/pages/SettingsPage.tsx
App services
- App state
src/lib/store.ts - Local persistence
src/lib/storage.ts - Syllabus catalog
src/lib/syllabusData.ts - Streak and activity engine
src/lib/streakEngine.ts - Notification service
src/lib/notificationService.ts - Celebration effects
src/lib/confetti.ts - Domain types
src/lib/types.ts
Platform runtime
- Android host
android/app/src/main/java/com/gateprep/app/MainActivity.java - Boot receiver
android/app/src/main/java/com/gateprep/app/BootReceiver.java
Other components
- Student
Connections 13
- Student → React entry: opens
src/main.tsx - React entry → App shell: renders
src/main.tsx - Syllabus checklist → Exam countdown: renders
src/pages/ChecklistHubPage.tsx - Daily activity → Focus timer: renders
src/pages/DailyActivityPage.tsx - Daily activity → Streak and activity engine: generates heatmap
src/pages/DailyActivityPage.tsx - Daily activity → Notification service: cancels reminders
src/pages/DailyActivityPage.tsx - Focus timer → Celebration effects: triggers
src/components/PomodoroTimer.tsx - Settings and backup → Local persistence: exports data
src/pages/SettingsPage.tsx - Local persistence → Syllabus catalog: initializes branch
src/lib/storage.ts - Local persistence → Domain types: uses data types
src/lib/storage.ts - Streak and activity engine → Domain types: uses data types
src/lib/streakEngine.ts - Syllabus catalog → Domain types: uses data types
src/lib/syllabusData.ts - Android host → React entry: hosts web app