How alibekhov/seero works
Usolve is a language-learning platform whose main flow takes a learner from landing-page registration/login into a protected dashboard, where they study lesson cards and see study-time totals and revision reminders. The frontend reports active study sessions to the Django API; backend tracking maintains time and spaced-repetition state. The README also documents contact submissions and JWT lifecycle endpoints. Some backend routes and feature pages were not excerpted, so their connections are included only where the README documents them; other links reflect shown source references.
Main entry points: DashboardPage.tsx Dashboard and practice · AuthProvider.tsx Auth state and JWT · App.tsx App routing · views.py Dashboard and tracking API
Components 25
React experience
- App routing
frontend/src/app/App.tsx - Landing and auth UI
frontend/src/pages/LandingPage/LandingPage.tsx - Landing translations
frontend/src/pages/LandingPage/landingI18n.ts - Translation data
frontend/src/pages/LandingPage/landingI18nData.ts - Protected route guard
frontend/src/app/components/RequireAuth.tsx - Auth state and JWT
frontend/src/app/providers/AuthProvider.tsx - Authenticated API fetch
frontend/src/shared/api/apiFetch.ts - API base URL
frontend/src/shared/config/env.ts - Theme state
frontend/src/app/providers/ThemeProvider.tsx - Dashboard and practice
frontend/src/pages/DashboardPage/DashboardPage.tsx - Active-time tracker
frontend/src/features/studyTime/useStudySessionTracker.ts - Page styles hook
frontend/src/shared/hooks/usePageStyles.ts
Accounts and contact
- Account endpoints
backend/apps/accounts/views.py - Account serialization
backend/apps/accounts/serializers.py - Contact submission
backend/apps/contact/views.py - Contact messages
backend/apps/contact/models.py
Learning content
- Course and lesson API
backend/apps/learning/views.py - Courses and cards
backend/apps/learning/models.py
Study tracking
- Dashboard and tracking API
backend/apps/tracking/views.py - Tracking serialization
backend/apps/tracking/serializers.py - Sessions and schedules
backend/apps/tracking/models.py - Study-time service
backend/apps/tracking/services/study_time.py - Spaced repetition
backend/apps/tracking/services/spaced_repetition.py
Other components
- Learner
- Django REST API
Connections 41
- Learner → App routing: opens
- App routing → Landing and auth UI: routes to
frontend/src/app/App.tsx - App routing → Protected route guard: guards dashboard
frontend/src/app/App.tsx - Protected route guard → Dashboard and practice: renders when signed in
frontend/src/app/App.tsx - App routing → Auth state and JWT: provides auth
frontend/src/app/App.tsx - App routing → Theme state: provides theme
frontend/src/app/App.tsx - Landing and auth UI → Auth state and JWT: uses auth
frontend/src/pages/LandingPage/LandingPage.tsx - Landing and auth UI → Landing translations: applies language
frontend/src/pages/LandingPage/LandingPage.tsx - Landing translations → Translation data: reads
frontend/src/pages/LandingPage/landingI18n.ts - Protected route guard → Auth state and JWT: checks session
frontend/src/app/components/RequireAuth.tsx - Auth state and JWT → Authenticated API fetch: calls
frontend/src/app/providers/AuthProvider.tsx - Auth state and JWT → API base URL: gets endpoint base
frontend/src/app/providers/AuthProvider.tsx - Dashboard and practice → Auth state and JWT: uses auth
frontend/src/pages/DashboardPage/DashboardPage.tsx - Dashboard and practice → Theme state: uses theme
frontend/src/pages/DashboardPage/DashboardPage.tsx - Dashboard and practice → Active-time tracker: starts tracking
frontend/src/pages/DashboardPage/DashboardPage.tsx - Dashboard and practice → Page styles hook: loads styles
frontend/src/pages/DashboardPage/DashboardPage.tsx - Active-time tracker → Auth state and JWT: uses authenticated fetch
frontend/src/features/studyTime/useStudySessionTracker.ts - Active-time tracker → API base URL: gets endpoint base
frontend/src/features/studyTime/useStudySessionTracker.ts - Learner → Landing and auth UI: submits credentials
frontend/src/pages/LandingPage/LandingPage.tsx - Learner → Dashboard and practice: studies
frontend/src/pages/DashboardPage/DashboardPage.tsx - Landing and auth UI → Account endpoints: registers or logs in
- Auth state and JWT → Django REST API: sends auth requests
frontend/src/app/providers/AuthProvider.tsx - Authenticated API fetch → Django REST API: sends API requests
frontend/src/shared/api/apiFetch.ts - Account endpoints → Account serialization: serializes accounts
backend/apps/accounts/views.py - Dashboard and practice → Django REST API: requests dashboard data
frontend/src/pages/DashboardPage/DashboardPage.tsx - Dashboard and practice → Django REST API: loads learning data
- Active-time tracker → Django REST API: sends session start ping stop
frontend/src/features/studyTime/useStudySessionTracker.ts - Django REST API → Dashboard and tracking API: routes tracking requests
- Django REST API → Course and lesson API: routes learning requests
- Django REST API → Account endpoints: routes account requests
- Learner → Django REST API: submits contact form
- Contact submission → Contact messages: stores messages
backend/apps/contact/views.py - Course and lesson API → Courses and cards: reads content
backend/apps/learning/views.py - Dashboard and tracking API → Sessions and schedules: reads and writes
backend/apps/tracking/views.py - Dashboard and tracking API → Tracking serialization: serializes responses
backend/apps/tracking/views.py - Dashboard and tracking API → Study-time service: delegates timing
backend/apps/tracking/views.py - Dashboard and tracking API → Spaced repetition: delegates scheduling
backend/apps/tracking/views.py - Study-time service → Sessions and schedules: updates sessions
backend/apps/tracking/services/study_time.py - Spaced repetition → Sessions and schedules: updates schedules
backend/apps/tracking/services/spaced_repetition.py - Tracking serialization → Sessions and schedules: serializes records
backend/apps/tracking/serializers.py - Tracking serialization → Courses and cards: uses lesson records
backend/apps/tracking/serializers.py