How dinesh-2007/learning-hub works
Study Platform is a full-stack study assistant: learners sign in, then use a React dashboard and study tools backed by FastAPI APIs and MongoDB. Its product areas include scheduling, resources, mock tests, progress and readiness, notes, gamification, notifications, and interview preparation and analytics. The graph separates frontend routing and API access from backend domain routers and persistence. Some page and router implementations are unsampled; those capabilities are included from the tree and documented routes, without asserting unverified internal calls.
Main entry points: App.jsx App routing · database.py MongoDB access · main.py FastAPI application · axios.js API client
Components 30
Frontend experience
- App routing
frontend/src/App.jsx - Session context
frontend/src/context/AuthContext.jsx - API client
frontend/src/api/axios.js
Study tools
- Study dashboard
frontend/src/pages/core/Dashboard.jsx - Study schedule
frontend/src/pages/core/Schedule.jsx - Resource hub
frontend/src/pages/core/ResourceHub.jsx - Mock tests
frontend/src/pages/core/MockTests.jsx - Progress analytics
frontend/src/pages/core/ProgressAnalytics.jsx - Readiness check
frontend/src/pages/core/Readiness.jsx - Study notes
frontend/src/pages/core/Notes.jsx - Gamification
frontend/src/pages/Gamification.jsx - Notifications
frontend/src/pages/Notifications.jsx
Interview preparation
- Interview practice
frontend/src/pages/interview/InterviewPractice.jsx - Interview features
frontend/src/pages/interview
API and domain services
- FastAPI application
backend/main.py - Authentication API
backend/routers/auth_router.py - Schedule API
backend/routers/schedule_router.py - Progress API
backend/routers/progress_router.py - Analysis API
backend/routers/analysis_router.py - Analytics API
backend/routers/analytics_router.py - Readiness API
backend/routers/readiness_router.py - Resource API
backend/routers/resource_router.py - Notes API
backend/routers/notes_router.py - Gamification API
backend/routers/gamification_router.py - Notification API
backend/routers/notification_router.py - Other domain APIs
backend/routers - Request and response schemas
backend/schemas.py
Persistence
- MongoDB access
backend/database.py
Other components
- Learner
- Browser
Connections 48
- Learner → App routing: uses
frontend/src/App.jsx - App routing → Session context: provides session
frontend/src/App.jsx - App routing → Study dashboard: routes to
frontend/src/App.jsx - App routing → Study schedule: routes to
frontend/src/App.jsx - App routing → Resource hub: routes to
frontend/src/App.jsx - App routing → Mock tests: routes to
frontend/src/App.jsx - App routing → Progress analytics: routes to
frontend/src/App.jsx - App routing → Readiness check: routes to
frontend/src/App.jsx - App routing → Study notes: routes to
frontend/src/App.jsx - App routing → Gamification: routes to
frontend/src/App.jsx - App routing → Notifications: routes to
frontend/src/App.jsx - App routing → Interview features: routes to
frontend/src/App.jsx - Session context → API client: calls
frontend/src/context/AuthContext.jsx - Session context → Authentication API: authenticates via
frontend/src/context/AuthContext.jsx - Study dashboard → API client: requests data
frontend/src/pages/core/Dashboard.jsx - Study schedule → API client: requests data
frontend/src/pages/core/Schedule.jsx - Mock tests → API client: requests data
frontend/src/pages/core/MockTests.jsx - Study notes → API client: requests data
frontend/src/pages/core/Notes.jsx - Notifications → API client: loads notifications
frontend/src/pages/Notifications.jsx - Gamification → API client: requests data
frontend/src/pages/Gamification.jsx - Interview practice → App routing: routed within
frontend/src/App.jsx - API client → Browser: HTTP requests
- App routing → Browser: renders
- FastAPI application → MongoDB access: uses
- Authentication API → MongoDB access: reads and writes
backend/routers/auth_router.py - Authentication API → Request and response schemas: validates with
backend/routers/auth_router.py - Schedule API → MongoDB access: reads and writes
backend/routers/schedule_router.py - Schedule API → Request and response schemas: validates with
backend/routers/schedule_router.py - Progress API → MongoDB access: reads and writes
backend/routers/progress_router.py - Progress API → Request and response schemas: validates with
backend/routers/progress_router.py - Analysis API → MongoDB access: accesses
backend/routers/analysis_router.py - Analytics API → MongoDB access: accesses
backend/routers/analytics_router.py - Analytics API → Request and response schemas: uses
backend/routers/analytics_router.py - Readiness API → MongoDB access: accesses
backend/routers/readiness_router.py - Resource API → MongoDB access: accesses
backend/routers/resource_router.py - Notes API → MongoDB access: accesses
backend/routers/notes_router.py - Notification API → MongoDB access: accesses
backend/routers/notification_router.py - Gamification API → MongoDB access: reads and writes
backend/routers/gamification_router.py - Other domain APIs → MongoDB access: accesses
backend/routers/auth_router.py - FastAPI application → Authentication API: registers
backend/main.py - FastAPI application → Schedule API: registers
backend/main.py - FastAPI application → Resource API: registers
backend/main.py - FastAPI application → Progress API: registers
backend/main.py - FastAPI application → Analysis API: registers
backend/main.py - FastAPI application → Analytics API: registers
backend/main.py - FastAPI application → Readiness API: registers
backend/main.py - FastAPI application → Notes API: registers
backend/main.py - FastAPI application → Gamification API: registers
backend/main.py