How yarajabr2005-svg/yt2utor works
YT2UTOR is a tutor-matching platform for learners and verified experts. Its principal workflow is discovering tutors against skills and real-time availability, then requesting and managing a lesson booking; completed lessons can be reviewed. The backend also provides semantic, urgency-aware recommendations, profile and skill management, and email notifications. The frontend supplies authentication and role-specific workspaces. Some backend views and endpoint wiring were not sampled, so frontend-to-backend routing is shown as unverified rather than asserted.
Main entry points: bookings/services.py Booking service · AppWorkspace.jsx Role workspaces · ai/services.py AI recommendations · reviews/services.py Reviews
Components 22
Web client
- Auth pages
frontend/src/pages/Auth/LoginPage.jsx - Role workspaces
frontend/src/pages/AppWorkspace.jsx - Student workspace
frontend/src/pages/workspace/StudentWorkspace.jsx - Tutor workspace
frontend/src/pages/workspace/TutorWorkspace.jsx - Admin workspace
frontend/src/pages/workspace/AdminWorkspace.jsx - Feedback UI
frontend/src/context/FeedbackContext.jsx
Identity and profiles
- Auth state
frontend/src/context/AuthContext.jsx - Auth API client
frontend/src/api/auth.js - User profiles
backend/apps/users/models.py - User services
backend/apps/users/services.py
Tutor discovery
- Tutor skills
backend/apps/skills/models.py - Availability slots
backend/apps/availability/models.py - AI recommendations
backend/apps/ai/services.py - Tutor embeddings
backend/apps/ai/models.py
Lessons and feedback
- Booking service
backend/apps/bookings/services.py - Bookings
backend/apps/bookings/models.py - Reviews
backend/apps/reviews/services.py - Review records
backend/apps/reviews/models.py
Notifications
- Email notifications
backend/apps/notifications/services.py
Other components
- Learners
- Tutors
- API routing
backend/config/urls.py
Connections 22
- Learners → Auth pages: sign in
README.md - Tutors → Auth pages: sign in
README.md - Auth state → Auth API client: calls
frontend/src/context/AuthContext.jsx - Auth API client → User profiles: requests profile
- Role workspaces → Student workspace: selects role view
frontend/src/pages/AppWorkspace.jsx - Role workspaces → Tutor workspace: selects role view
frontend/src/pages/AppWorkspace.jsx - Role workspaces → Admin workspace: selects role view
frontend/src/pages/AppWorkspace.jsx - Auth pages → Auth state: uses auth
frontend/src/pages/Auth/LoginPage.jsx - Student workspace → API routing: requests platform data
- Tutor workspace → API routing: requests platform data
- AI recommendations → Tutor embeddings: reads and ranks
backend/apps/ai/services.py - AI recommendations → Tutor skills: filters tutors
backend/apps/ai/services.py - AI recommendations → Availability slots: checks times
backend/apps/ai/services.py - Booking service → Bookings: creates and updates
backend/apps/bookings/services.py - Booking service → Availability slots: checks slot
backend/apps/bookings/services.py - Booking service → Tutor skills: validates teaching
backend/apps/bookings/services.py - Booking service → Email notifications: sends booking emails
backend/apps/bookings/services.py - Reviews → Bookings: validates completion
backend/apps/reviews/services.py - Reviews → Review records: creates and reads
backend/apps/reviews/services.py - Reviews → User profiles: updates tutor rating
backend/apps/reviews/services.py - User services → Email notifications: sends account email
backend/apps/users/services.py - Feedback UI → Learners: shows feedback