How burakwa/frog-hsd-hackathon works
FrogFriends is a Turkish-language speech-learning platform for children. A child enters the learning panel, chooses among four practice modes, speaks or completes activities, receives feedback, and accumulates progress; parents can review progress and request AI reports. The graph preserves the documented game modes and parent features. Some page and integration wiring is represented only by README statements or SOURCE INDEX references; unsampled implementation details are not assumed.
Main entry points: ses-tekrari/page.tsx Sound repetition · oyunlar/page.tsx Games menu · useProgress.ts Progress tracking · veli-paneli/page.tsx Parent dashboard
Components 24
Learning experience
- Landing page
src/app/page.tsx - Games menu
src/app/panel/oyunlar/page.tsx - Sound repetition
src/app/panel/oyunlar/ses-tekrari/page.tsx - Syllable hunt
src/app/panel/oyunlar/hece-avi/page.tsx - Sentence builder
src/app/panel/oyunlar/cumle-soyle/page.tsx - Story reading
src/app/panel/oyunlar/sesli-masal/page.tsx - Exercise content
src/lib/data/exercises.ts
Speech and feedback
- Speech recognition
src/hooks/useSpeechRecognition.ts - Speech synthesis
src/hooks/useSpeechSynthesis.ts - Pronunciation scoring
src/lib/comparison/analyze.ts - Speech feedback
src/components/speech/PronunciationFeedback.tsx
Accounts and progress
- Progress tracking
src/hooks/useProgress.ts - Authentication
src/hooks/useAuth.ts - Progress view
src/app/panel/ilerleme/page.tsx - Parent dashboard
src/app/panel/veli-paneli/page.tsx
AI reporting
- AI analysis hook
src/hooks/useAIAnalysis.ts - Speech analysis API
src/app/api/ai-analyze/route.ts - Progress report API
src/app/api/ai-report/route.ts - AI analysis service
src/lib/ai/openrouter.ts
Other components
- Child learner
- Parent
- Browser speech APIs
- Supabase
- OpenRouter
Connections 27
- Child learner → Landing page: opens
README.md - Child learner → Games menu: chooses games
README.md - Parent → Parent dashboard: reviews progress
README.md - Games menu → Sound repetition: offers mode
README.md - Games menu → Syllable hunt: offers mode
README.md - Games menu → Sentence builder: offers mode
README.md - Games menu → Story reading: offers mode
README.md - Sound repetition → Speech recognition: uses
src/app/panel/oyunlar/ses-tekrari/page.tsx - Sound repetition → Speech synthesis: uses
src/app/panel/oyunlar/ses-tekrari/page.tsx - Sound repetition → Pronunciation scoring: scores speech
src/app/panel/oyunlar/ses-tekrari/page.tsx - Speech recognition → Browser speech APIs: recognizes speech
README.md - Speech synthesis → Browser speech APIs: speaks prompts
README.md - Pronunciation scoring → Speech feedback: provides result
src/components/speech/PronunciationFeedback.tsx - Sound repetition → Exercise content: loads exercises
src/app/panel/oyunlar/ses-tekrari/page.tsx - Sound repetition → Progress tracking: records session
src/app/panel/oyunlar/ses-tekrari/page.tsx - Progress view → Progress tracking: reads progress
src/app/panel/ilerleme/page.tsx - Parent dashboard → Progress tracking: reads progress
src/app/panel/veli-paneli/page.tsx - Parent dashboard → AI analysis hook: requests report
src/app/panel/veli-paneli/page.tsx - Authentication → Supabase: authenticates and reads profile
src/hooks/useAuth.ts - Progress tracking → Authentication: gets user
src/hooks/useProgress.ts - Progress tracking → Supabase: loads and saves sessions
src/hooks/useProgress.ts - AI analysis hook → Speech analysis API: posts analysis
src/hooks/useAIAnalysis.ts - AI analysis hook → Progress report API: posts report request
src/hooks/useAIAnalysis.ts - Speech analysis API → AI analysis service: requests analysis
src/app/api/ai-analyze/route.ts - Progress report API → AI analysis service: generates report
src/app/api/ai-report/route.ts - AI analysis service → OpenRouter: calls model API
src/lib/ai/openrouter.ts - Progress report API → Supabase: saves and fetches reports
src/app/api/ai-report/route.ts