How pranaypalwekar/studyai-planner works
StudyAI Planner is a student study-planning application: learners sign in, organize study work, use learning tools, and review progress. The frontend route shell exposes planner, focus, tutoring, classroom, notes, and flashcard experiences; the FastAPI entry point mounts corresponding backend capabilities, with MongoDB initialization and optional Google and Gemini integrations. The tree contains both Flask and FastAPI backends; the sampled backend/main.py is the FastAPI entry point, while several feature-router implementations and page-to-API calls were not sampled, so uncertain wiring is omitted.
Main entry points: main.py FastAPI service · App.jsx Web app routes · Flashcards.jsx Flashcards · auth_new.py Authentication
Components 25
Student experience
- Web app routes
frontend/src/App.jsx - Sign in
frontend/src/pages/Login.jsx - Study planner
frontend/src/pages/Planner.jsx - Focus mode
frontend/src/pages/FocusMode.jsx - AI tutor
frontend/src/pages/AIChat.jsx - Classroom
frontend/src/pages/Classroom.jsx - Flashcards
frontend/src/pages/Flashcards.jsx - Analytics
frontend/src/pages/Analytics.jsx - Notes generator
frontend/src/pages/NotesGenerator.jsx
API services
- FastAPI service
backend/main.py - Authentication
backend/routes/auth_new.py
Learning features
- Study sessions
backend/routes/study_new.py - Pomodoro timer
backend/routes/pomodoro_new.py - Tutor and AI query
backend/routes/ai_tutor_new.py - Classroom sync
backend/routes/classroom_new.py - Flashcard service
backend/routes/flashcards_new.py - Meet scheduling
backend/routes/meet_new.py - File query
backend/routes/files_new.py - Score predictor
backend/ml/predictor.py
Data and integrations
- Database setup
backend/models.py - MongoDB
- Google Gemini
- Google Classroom
- Google Meet
Other components
- Student
Connections 24
- Student → Web app routes: uses
- Web app routes → Sign in: routes to
- Web app routes → Study planner: routes to
- Web app routes → Focus mode: routes to
- Web app routes → AI tutor: routes to
- Web app routes → Classroom: routes to
- Web app routes → Flashcards: routes to
- Web app routes → Analytics: routes to
- Web app routes → Notes generator: routes to
- FastAPI service → Authentication: mounts at /auth
- FastAPI service → Study sessions: mounts at /study
- FastAPI service → Pomodoro timer: mounts at /pomodoro
- FastAPI service → Tutor and AI query: mounts at /ai
- FastAPI service → Classroom sync: mounts at /classroom
- FastAPI service → Flashcard service: mounts at /flashcards
- FastAPI service → Meet scheduling: mounts at /meet
- FastAPI service → File query: mounts at /file and /ai
- FastAPI service → Database setup: initializes on startup
- Database setup → MongoDB: initializes
- Authentication → MongoDB: reads and writes users
- Flashcards → FastAPI service: requests API
- Classroom sync → Google Classroom: syncs data
- Meet scheduling → Google Meet: integrates
- Tutor and AI query → Google Gemini: requests tutoring