How nithinannamalai/tutor-ward-app works
EEE Department Portal is a student-and-faculty hub spanning academic tracking, records and requests, and campus services. The main workflow is entering the React app, choosing a portal feature, and using its interface; data-backed features delegate to a shared service that accesses Supabase and falls back to browser storage. The AI tutor can call Gemini when configured. The README is an untouched Vite template, so product capabilities are inferred from the route catalog and source index. Some feature-to-app wiring and unsampled service behavior are not visible in excerpts.
Main entry points: App.tsx Portal application · db.ts Portal data service · DesktopVisionaDashboard.tsx Desktop dashboard · AcademicsTracker.tsx Academic tracker
Components 23
Portal entry
- Portal application
src/App.tsx - Feature catalog
src/routes/appRoutes.ts - Desktop dashboard
src/components/desktop/DesktopVisionaDashboard.tsx
Academic hub
- Academic tracker
src/components/academics/AcademicsTracker.tsx - Academic calendar
src/components/academics/AcademicCalendar.tsx - GPA calculator
src/components/academics/GpaCalculator.tsx - NPTEL tracker
src/components/academics/NptelTracker.tsx - Class timetable
src/components/academics/Timetable.tsx
Records and requests
- Profile and documents
src/components/services/ProfileDocs.tsx - OD requests
src/components/services/ODForm.tsx - Request letters
src/components/services/RequestLetters.tsx
Student services
- Attendance tracker
src/components/services/AttendanceTracker.tsx - Career hub
src/components/services/CareerHub.tsx - Lab seat finder
src/components/services/LabSeatFinder.tsx - Puzzle games
src/components/services/PuzzleGames.tsx - Announcements
src/components/common/AnnouncementBanner.tsx - AI tutor
src/components/common/AIChatbot.tsx
Data and integrations
- Portal data service
src/services/db.ts - Supabase client
src/services/supabaseClient.ts - Browser storage
Other components
- Student or faculty
- Supabase
- Gemini API
Connections 30
- Student or faculty → Portal application: opens
- Portal application → Feature catalog: uses catalog
src/App.tsx - Portal application → Announcements: renders
src/App.tsx - Portal application → AI tutor: renders
src/App.tsx - Portal application → Academic tracker: selects feature
- Portal application → Academic calendar: selects feature
- Portal application → GPA calculator: selects feature
- Portal application → NPTEL tracker: selects feature
- Portal application → Class timetable: selects feature
- Portal application → Profile and documents: selects feature
src/components/services/ProfileDocs.tsx - Portal application → OD requests: selects feature
- Portal application → Request letters: selects feature
- Portal application → Attendance tracker: selects feature
- Portal application → Career hub: selects feature
- Portal application → Lab seat finder: selects feature
- Portal application → Puzzle games: selects feature
- Portal application → Desktop dashboard: selects view
src/components/desktop/DesktopVisionaDashboard.tsx - Academic tracker → Portal data service: accesses data
src/components/academics/AcademicsTracker.tsx - Academic calendar → Portal data service: accesses data
src/components/academics/AcademicCalendar.tsx - NPTEL tracker → Portal data service: accesses data
src/components/academics/NptelTracker.tsx - Class timetable → Portal data service: accesses data
src/components/academics/Timetable.tsx - Attendance tracker → Portal data service: accesses data
src/components/services/AttendanceTracker.tsx - Profile and documents → Portal data service: accesses data
src/components/services/ProfileDocs.tsx - Request letters → Portal data service: accesses data
src/components/services/RequestLetters.tsx - Announcements → Portal data service: accesses data
src/components/common/AnnouncementBanner.tsx - Desktop dashboard → Portal data service: accesses data
src/components/desktop/DesktopVisionaDashboard.tsx - Portal data service → Supabase client: uses client
src/services/db.ts - Supabase client → Supabase: creates client
src/services/supabaseClient.ts - Portal data service → Browser storage: fallback reads and writes
src/services/db.ts - AI tutor → Gemini API: sends prompt
src/components/common/AIChatbot.tsx