How itmoorthy/-olympiadapp works
Olympiad Buddy is a browser-based practice and progress app for elementary students preparing for math, science, and computer science olympiads. The main flow starts at the home screen, selects practice or a mock exam, obtains questions, runs an answering session, and records progress and rewards. Separate branches support daily challenges, parent progress review, and settings. Source excerpts establish several service calls; other screen connections are supported by the App import index. The README is empty, and unsampled modules are represented only where the tree or index supports them.
Main entry points: App.tsx App coordinator · DailyChallenge.tsx Daily challenge · gamificationService.ts Rewards and badges · PracticeSession.tsx Practice session
Components 25
App navigation
- App coordinator
src/App.tsx - Home screen
src/components/home/HomeScreen.tsx - Olympiad configuration
src/config/olympiadConfig.ts - App settings
src/components/settings/SettingsView.tsx
Practice and exams
- Practice selector
src/components/practice/PracticeSelector.tsx - Practice session
src/components/practice/PracticeSession.tsx - Question display
src/components/practice/QuestionCard.tsx - Answer options
src/components/practice/AnswerOption.tsx - Answer explanation
src/components/practice/ExplanationCard.tsx - Mock exam
src/components/mock/MockExam.tsx - Exam results
src/components/mock/MockExamResult.tsx - Exam assembly
src/services/examService.ts - Daily challenge
src/components/daily/DailyChallenge.tsx
Question services
- Question selection
src/services/questionGenerator.ts - Question repository
src/services/questionRepository.ts - Curated question bank
src/services/questionBank.ts - Procedural generation
src/services/proceduralQuestionGenerator.ts - Question validation
src/services/questionValidator.ts
Progress and rewards
- Parent dashboard
src/components/progress/ParentDashboard.tsx - Question review
src/components/progress/QuestionReviewModal.tsx - Progress analytics
src/services/progressService.ts - Rewards and badges
src/services/gamificationService.ts - Local progress store
src/services/storageService.ts - Sound effects
src/services/soundService.ts
Other components
- Student
Connections 39
- Student → App coordinator: uses
- App coordinator → Home screen: routes to
src/App.tsx - App coordinator → Practice selector: routes to
src/App.tsx - App coordinator → Practice session: routes to
src/App.tsx - App coordinator → Mock exam: routes to
src/App.tsx - App coordinator → Exam results: routes to
src/App.tsx - App coordinator → Daily challenge: routes to
src/App.tsx - App coordinator → Parent dashboard: routes to
src/App.tsx - App coordinator → Question review: routes to
src/App.tsx - App coordinator → App settings: routes to
src/App.tsx - App coordinator → Local progress store: reads and writes
src/App.tsx - App coordinator → Question selection: requests questions
src/App.tsx - App coordinator → Exam assembly: creates exam
src/App.tsx - App coordinator → Sound effects: sets sound
src/App.tsx - Practice session → Question display: renders
src/components/practice/PracticeSession.tsx - Question display → Answer options: renders
src/components/practice/QuestionCard.tsx - Question display → Answer explanation: renders
src/components/practice/QuestionCard.tsx - Practice session → Local progress store: records attempts
src/components/practice/PracticeSession.tsx - Practice session → Rewards and badges: awards progress
src/components/practice/PracticeSession.tsx - Practice session → Sound effects: plays feedback
src/components/practice/PracticeSession.tsx - Exam assembly → Question selection: gets questions
src/services/examService.ts - Daily challenge → Question repository: gets questions
src/components/daily/DailyChallenge.tsx - Daily challenge → Local progress store: records completion
src/components/daily/DailyChallenge.tsx - Daily challenge → Rewards and badges: uses rewards
src/components/daily/DailyChallenge.tsx - Daily challenge → Sound effects: plays feedback
src/components/daily/DailyChallenge.tsx - Daily challenge → Answer options: renders
src/components/daily/DailyChallenge.tsx - Question selection → Question repository: queries
src/services/questionGenerator.ts - Question selection → Question validation: validates
src/services/questionGenerator.ts - Question repository → Curated question bank: filters
src/services/questionRepository.ts - Question repository → Procedural generation: generates fallback
src/services/questionRepository.ts - Home screen → Progress analytics: calculates accuracy
src/components/home/HomeScreen.tsx - Home screen → Rewards and badges: gets rank
src/components/home/HomeScreen.tsx - Parent dashboard → Progress analytics: summarizes progress
src/components/progress/ParentDashboard.tsx - Parent dashboard → Rewards and badges: shows rewards
src/components/progress/ParentDashboard.tsx - Rewards and badges → Local progress store: saves badges
src/services/gamificationService.ts - Rewards and badges → Sound effects: plays celebration
src/services/gamificationService.ts - Practice selector → Olympiad configuration: uses subjects
src/components/practice/PracticeSelector.tsx - Parent dashboard → Olympiad configuration: uses subjects
src/components/progress/ParentDashboard.tsx - App settings → Olympiad configuration: uses options
src/components/settings/SettingsView.tsx