How abhijith-abn/drishti works
Drishti is a learning and course-booking portal for students and institutions, with an admin area for managing requests, course offerings, and online slots. The visible user flow enters through the routed frontend, authenticates through Supabase, and reaches course selection, where users can book or enroll through role-specific dialogs. Quiz, batch-joining, and dashboard pages are also routed product capabilities. The tree includes a separate Spring backend, but its source was not sampled, so its internal relationships are left unspecified; several frontend page capabilities are likewise represented without inferred behavior.
Main entry points: App.js Routed App · CourseSelection.js Course Selection · SupabaseClient.js Supabase Client · LandingPage.js Landing Page
Components 24
Discovery & Information
- Routed App
drishti-frontend/src/App.js - Landing Page
drishti-frontend/src/pages/LandingPage.js - Review Cards
drishti-frontend/src/components/ReviewCard.js - About Page
drishti-frontend/src/pages/About.js - Contact Page
drishti-frontend/src/pages/contact.js - Navigation & Session
drishti-frontend/src/components/Navbar.js
Learning & Booking
- Authentication
drishti-frontend/src/pages/AuthPage.js - Course Selection
drishti-frontend/src/pages/CourseSelection.js - Course Card
drishti-frontend/src/components/CourseCard.js - Institution Booking
drishti-frontend/src/components/InstitutionBookingModal.js - Student Enrollment
drishti-frontend/src/components/StudentBookingModal.js - Quiz
drishti-frontend/src/pages/QuizPage.js - Join Batch
drishti-frontend/src/pages/JoinBatch.js - User Dashboard
drishti-frontend/src/pages/Dashboard.js
Management & Data
- Admin Dashboard
drishti-frontend/src/pages/AdminDashboard.js - Supabase Client
drishti-frontend/src/SupabaseClient.js
Backend Services
- Spring Application
drishti-backend/drishti/src/main/java/com/example/drishti/DrishtiApplication.java - Security Configuration
drishti-backend/drishti/src/main/java/com/example/drishti/config/SecurityConfig.java - Profile Controller
drishti-backend/drishti/src/main/java/com/example/drishti/controller/ProfileController.java - Course Slot Controller
drishti-backend/drishti/src/main/java/com/example/drishti/controller/CourseSlotController.js - User Entity
drishti-backend/drishti/src/main/java/com/example/drishti/entity/User.java - User Repository
drishti-backend/drishti/src/main/java/com/example/drishti/repository/UserRepository.java
Other components
- Visitor / User
- Supabase
Connections 20
- Visitor / User → Routed App: opens
drishti-frontend/src/App.js - Routed App → Landing Page: routes to
drishti-frontend/src/App.js - Routed App → Authentication: routes to
drishti-frontend/src/App.js - Routed App → Course Selection: routes to
drishti-frontend/src/App.js - Routed App → Quiz: routes to
drishti-frontend/src/App.js - Routed App → Join Batch: routes to
drishti-frontend/src/App.js - Routed App → Admin Dashboard: routes to
drishti-frontend/src/App.js - Routed App → About Page: routes to
drishti-frontend/src/App.js - Routed App → Contact Page: routes to
drishti-frontend/src/App.js - Routed App → User Dashboard: routes to
drishti-frontend/src/App.js - Routed App → Navigation & Session: renders
drishti-frontend/src/App.js - Landing Page → Review Cards: renders
drishti-frontend/src/pages/LandingPage.js - Course Selection → Course Card: renders
drishti-frontend/src/pages/CourseSelection.js - Course Selection → Institution Booking: renders
drishti-frontend/src/pages/CourseSelection.js - Course Selection → Student Enrollment: renders
drishti-frontend/src/pages/CourseSelection.js - Authentication → Supabase Client: calls auth
drishti-frontend/src/pages/AuthPage.js - Navigation & Session → Supabase Client: checks session
drishti-frontend/src/components/Navbar.js - Course Selection → Supabase Client: fetches role
drishti-frontend/src/pages/CourseSelection.js - Admin Dashboard → Supabase Client: reads and updates
drishti-frontend/src/pages/AdminDashboard.js - Supabase Client → Supabase: configures client
drishti-frontend/src/SupabaseClient.js