How modsunxx/uni-tutor works
Uni-Tutor is a student tutoring marketplace: students register, discover courses and tutors, and use role-specific dashboards; tutors apply, manage courses and availability, while admins review tutor applications. The graph separates authentication, discovery/profile, course operations, and shared Supabase services. Some major route files were indexed but not fully excerpted, so their detailed runtime calls are not inferred; documented capabilities are retained with evidence limits noted.
Main entry points: client.ts Browser Client · register/page.tsx Registration · search/page.tsx Course Search · [id]/page.tsx Course Detail
Components 20
Identity & Roles
- Registration
src/app/(auth)/register/page.tsx - Login
src/app/(auth)/login/page.tsx - Session Navigation
src/components/Navbar.tsx
Discovery & Profiles
- Course Search
src/app/search/page.tsx - Public Profile
src/app/profile/[id]/page.tsx - Profile Editing
src/app/profile/edit/page.tsx - Profile Route
src/app/profile/page.tsx
Courses & Dashboards
- Course Detail
src/app/courses/[id]/page.tsx - Role Dashboard
src/app/dashboard/page.tsx - Learner Dashboard
src/app/dashboard/learner/page.tsx - Tutor Dashboard
src/app/dashboard/tutor/page.tsx - Admin Review
src/app/dashboard/admin/page.tsx - Course Creation
src/app/dashboard/tutor/courses/new/page.tsx - Course Management
src/app/dashboard/tutor/courses/[id]/page.tsx
Supabase Services
- Browser Client
src/utils/supabase/client.ts - Supabase Database
- Supabase Auth
- Supabase Storage
Other components
- Student
- Google OAuth
Connections 25
- Student → Registration: registers
README.md - Student → Course Search: searches
README.md - Registration → Browser Client: uses client
src/app/(auth)/register/page.tsx - Login → Browser Client: uses client
src/app/(auth)/login/page.tsx - Registration → Supabase Auth: OAuth sign-in
src/app/(auth)/register/page.tsx - Supabase Auth → Google OAuth: federates
README.md - Session Navigation → Browser Client: uses client
src/components/Navbar.tsx - Course Search → Browser Client: uses client
src/app/search/page.tsx - Public Profile → Browser Client: uses client
src/app/profile/[id]/page.tsx - Profile Editing → Browser Client: uses client
src/app/profile/edit/page.tsx - Profile Route → Public Profile: routes to
- Course Detail → Browser Client: uses client
src/app/courses/[id]/page.tsx - Role Dashboard → Browser Client: uses client
src/app/dashboard/page.tsx - Learner Dashboard → Browser Client: uses client
src/app/dashboard/learner/page.tsx - Tutor Dashboard → Browser Client: uses client
src/app/dashboard/tutor/page.tsx - Admin Review → Browser Client: uses client
src/app/dashboard/admin/page.tsx - Course Creation → Browser Client: uses client
src/app/dashboard/tutor/courses/new/page.tsx - Course Management → Browser Client: uses client
src/app/dashboard/tutor/courses/[id]/page.tsx - Browser Client → Supabase Database: connects to
README.md - Browser Client → Supabase Auth: connects to
README.md - Registration → Supabase Storage: uploads transcript
README.md - Admin Review → Supabase Storage: reviews transcript
README.md - Course Search → Course Detail: opens course
- Learner Dashboard → Course Detail: opens booking
- Role Dashboard → Course Creation: links creation
src/app/dashboard/page.tsx