How abhinavmaurya29612-ai/study-tracker- works
This is a browser-based Class 9 study tracker, not the generic Vite template described in the README. The main workflow mounts the app, loads study data and actions, then presents dashboard, syllabus, timer, quiz, and task views. The app owns shared state; the hook persists it in localStorage. The excerpts establish the component structure, initial syllabus/quiz data, and persistence, but do not show every callback implementation or the full behavior of each view.
Main entry points: App.tsx Study app · types.ts Study data types · useStudyApp.ts Study state · QuizGenerator.tsx Quiz generator
Components 12
App shell
- Study app
src/App.tsx - Navigation
src/components/Navbar.tsx
Study features
- Dashboard
src/components/Dashboard.tsx - Syllabus tracker
src/components/SubjectTracker.tsx - Study timer
src/components/StudyTimer.tsx - Quiz generator
src/components/QuizGenerator.tsx - Task planner
src/components/TaskPlanner.tsx
State and content
- Study state
src/hooks/useStudyApp.ts - Browser storage
- Syllabus and quiz bank
src/data/ncertData.ts - Study data types
src/types.ts
Other components
- Learner
Connections 18
- Learner → Study app: uses
- Study app → Navigation: renders
src/App.tsx - Study app → Dashboard: renders
src/App.tsx - Study app → Syllabus tracker: renders
src/App.tsx - Study app → Study timer: renders
src/App.tsx - Study app → Quiz generator: renders
src/App.tsx - Study app → Task planner: renders
src/App.tsx - Study app → Study state: loads state
src/App.tsx - Study state → Browser storage: reads and writes
src/hooks/useStudyApp.ts - Study state → Syllabus and quiz bank: loads defaults
src/hooks/useStudyApp.ts - Quiz generator → Syllabus and quiz bank: uses quiz bank
src/components/QuizGenerator.tsx - Dashboard → Study data types: uses data types
src/components/Dashboard.tsx - Syllabus tracker → Study data types: uses data types
src/components/SubjectTracker.tsx - Study timer → Study data types: uses data types
src/components/StudyTimer.tsx - Quiz generator → Study data types: uses data types
src/components/QuizGenerator.tsx - Task planner → Study data types: uses data types
src/components/TaskPlanner.tsx - Study state → Study data types: uses data types
src/hooks/useStudyApp.ts - Syllabus and quiz bank → Study data types: uses data types
src/data/ncertData.ts