How abhij5681-eng/project_veda_new works
Project Veda is an AI study tutor: learners authenticate, organize workspaces, upload study materials, and use document-grounded chat and adaptive practice. The frontend calls a FastAPI backend, whose services handle ingestion, tutoring, quizzes, and persistence. The graph preserves the documented UI and backend capabilities, but excerpts do not show every endpoint or service call; uncertain links are omitted.
Main entry points: App.jsx App shell · main.py HTTP API · api.js API client · db_services.py Database services
Components 17
Learner interface
- App shell
frontend/src/App.jsx - Sign-in UI
frontend/src/components/Auth.jsx - Workspace sidebar
frontend/src/components/Sidebar.jsx - Study chat
frontend/src/components/ChatInterface.jsx - Preferences UI
frontend/src/components/Settings.jsx - Session guardian
frontend/src/components/SessionGuardian.jsx - API client
frontend/src/api.js
Tutor backend
- HTTP API
backend/main.py
Learning services
- Document parser
backend/document_parser.py - AI tutor
backend/ai_services.py - Adaptive quizzes
backend/quiz_services.py
Data and identity
- Auth services
backend/auth_services.py - Database services
backend/db_services.py
Other components
- Learner
- Supabase
- Brevo email API
- Gemini
Connections 23
- Learner → App shell: uses
- App shell → Sign-in UI: renders
frontend/src/App.jsx - App shell → Workspace sidebar: renders
frontend/src/App.jsx - App shell → Study chat: renders
frontend/src/App.jsx - App shell → Preferences UI: renders
frontend/src/App.jsx - App shell → Session guardian: renders
frontend/src/App.jsx - Sign-in UI → API client: requests auth
frontend/src/components/Auth.jsx - Workspace sidebar → API client: manages workspace
frontend/src/components/Sidebar.jsx - Study chat → API client: requests tutoring
frontend/src/components/ChatInterface.jsx - App shell → API client: loads preferences
frontend/src/App.jsx - Preferences UI → App shell: updates preferences
frontend/src/App.jsx - API client → HTTP API: HTTP requests
frontend/src/api.js - HTTP API → Auth services: uses auth
backend/main.py - HTTP API → Database services: uses persistence
backend/main.py - HTTP API → Document parser: uses parsing
backend/main.py - HTTP API → AI tutor: uses tutoring
backend/main.py - HTTP API → Adaptive quizzes: routes quizzes
backend/main.py - Auth services → Brevo email API: sends OTP
backend/auth_services.py - Database services → Supabase: reads and writes
backend/db_services.py - HTTP API → Supabase: manages storage
backend/main.py - AI tutor → Database services: retrieves context
backend/ai_services.py - Adaptive quizzes → Database services: loads mastery
backend/quiz_services.py - Adaptive quizzes → Gemini: generates questions
backend/quiz_services.py