How nirajk007/ai_study_analyzer_webapp works
AI Study Analyzer is a React study dashboard that turns student notes into review materials, then supports practice, revision, and persistent study history. The main workflow is to enter or upload notes, generate a study guide through the client fallback or optional Gemini-backed server, view the results, and use its quiz and flashcards. Dashboard analytics, sample-note presets, history search and backup, theme persistence, audio, and export are supporting capabilities. Some component wiring is only partially excerpted; uncertain UI links are shown as unverified.
Main entry points: App.tsx App Coordinator · AnalyzerView.tsx Notes Analyzer · ResultsView.tsx Study Results · storage.ts Session Storage
Components 16
Study Dashboard
- App Coordinator
src/App.tsx - Dashboard
src/components/DashboardView.tsx - Navigation
src/components/Sidebar.tsx
Notes Analysis
- Notes Analyzer
src/components/AnalyzerView.tsx - Client Synthesis
src/utils/clientAnalyzer.ts - Gemini Proxy
server.ts - Sample Materials
src/utils/sampleData.ts
Review Tools
- Study Results
src/components/ResultsView.tsx - Interactive Quiz
src/components/QuizComponent.tsx - Revision Flashcards
src/components/FlashcardComponent.tsx
History and Persistence
- Study History
src/components/HistoryView.tsx - Session Storage
src/utils/storage.ts - Study Data Model
src/types.ts
Other components
- Student
- Google Gemini
- Browser Storage
Connections 17
- Student → App Coordinator: uses
README.md - App Coordinator → Dashboard: shows
src/App.tsx - App Coordinator → Navigation: shows
src/App.tsx - App Coordinator → Notes Analyzer: routes to
src/App.tsx - App Coordinator → Study Results: opens
src/App.tsx - App Coordinator → Study History: opens
src/App.tsx - Notes Analyzer → Client Synthesis: generates fallback
src/components/AnalyzerView.tsx - Notes Analyzer → Gemini Proxy: requests analysis
README.md - Gemini Proxy → Google Gemini: generates with
README.md - Notes Analyzer → Sample Materials: loads presets
src/components/AnalyzerView.tsx - Dashboard → Sample Materials: shows samples
src/components/DashboardView.tsx - Study Results → Interactive Quiz: renders
src/components/ResultsView.tsx - Study Results → Revision Flashcards: renders
src/components/ResultsView.tsx - App Coordinator → Session Storage: loads and updates
src/App.tsx - Session Storage → Browser Storage: reads and writes
src/utils/storage.ts - Study History → App Coordinator: requests session actions
src/App.tsx - Session Storage → Sample Materials: seeds sessions
src/utils/storage.ts