How techandguard/smartbridge-correction works
SmartBridge FET is a CAPS-aligned learning and tutoring platform for South African Grades 10–12 students. Users enter through the routed React app, authenticate and complete onboarding, then use learning resources, quizzes, progress tools, tutor services, and opportunity discovery; role-specific dashboards support parents, counselors, tutors, and administrators. Supabase provides auth and application data, while edge functions cover asynchronous and AI-assisted capabilities. The graph reflects documented capabilities and indexed references; several feature-level links are intentionally omitted because their implementation was not sampled.
Main entry points: App.jsx Routes and guards · supabaseClient.js Supabase services · AdminDashboard.jsx Admin dashboard · ResourceSearch.jsx Resource search
Components 21
Application entry
- Routes and guards
src/App.jsx - Auth and profiles
src/lib/AuthContext.jsx - App shell
src/components/layout/AppLayout.jsx - Onboarding
src/pages/Onboarding.jsx
Learning tools
- CAPS subjects
src/lib/subjects.js - Student dashboard
src/pages/StudentDashboard.jsx - Resource search
src/pages/ResourceSearch.jsx - Practice quizzes
src/pages/PracticeQuiz.jsx - Video lessons
src/pages/VideoLessons.jsx
Platform services
- Tutor services
src/pages/Tutors.jsx - Tutor bookings
src/pages/Bookings.jsx - Student opportunities
src/pages/StudentOpportunities.jsx - Community forum
src/pages/CommunityForum.jsx - Parent dashboard
src/pages/ParentDashboard.jsx
Operations
- Admin dashboard
src/pages/AdminDashboard.jsx - CAPS administration
src/pages/CAPSAdmin.jsx - Knowledge resources
src/components/admin/KnowledgeBaseManager.jsx - Opportunity review
src/components/admin/OpportunitiesContentReview.jsx - Supabase services
src/lib/supabaseClient.js - Edge functions
supabase-functions/functions
Other components
- Students and tutors
Connections 23
- Students and tutors → Routes and guards: uses
- Routes and guards → Auth and profiles: provides auth
src/App.jsx - Routes and guards → App shell: routes through
src/App.jsx - Routes and guards → Onboarding: routes to
src/App.jsx - Auth and profiles → Supabase services: uses auth
src/lib/AuthContext.jsx - Routes and guards → Student dashboard: routes to
src/App.jsx - Routes and guards → Resource search: routes to
src/App.jsx - Resource search → Supabase services: reads data
src/pages/ResourceSearch.jsx - Resource search → CAPS subjects: uses subject list
src/pages/ResourceSearch.jsx - Routes and guards → Practice quizzes: routes to
src/App.jsx - Routes and guards → Video lessons: routes to
src/App.jsx - Routes and guards → Tutor services: routes to
src/App.jsx - Routes and guards → Tutor bookings: routes to
src/App.jsx - Routes and guards → Student opportunities: routes to
src/App.jsx - Routes and guards → Community forum: routes to
src/App.jsx - Routes and guards → Parent dashboard: routes to
src/App.jsx - Routes and guards → Admin dashboard: routes to
src/App.jsx - Admin dashboard → Knowledge resources: renders
src/pages/AdminDashboard.jsx - Admin dashboard → Opportunity review: renders
src/pages/AdminDashboard.jsx - Admin dashboard → CAPS administration: routes to
src/App.jsx - Knowledge resources → Supabase services: manages resources
src/components/admin/KnowledgeBaseManager.jsx - CAPS administration → Supabase services: manages documents
src/pages/CAPSAdmin.jsx - Supabase services → Edge functions: invokes