How dakh524/sairamhub works
Sairam Hub is a student-facing campus learning and utility app, with an admin area for maintaining shared content. The main flow starts at the home screen, which fetches learning materials and announcements; students can search or browse materials, open details, and access career resources and tools. Separate routes provide calculators, campus updates, sharing, and video playback. Supabase and local storage support content and offline caching, while onboarding and notifications support the app experience. The README is empty, so capability descriptions and links rely on the tree and shown source references; unsampled route behavior is not assumed.
Main entry points: api.ts Content API · index.tsx Home dashboard · Onboarding.tsx Student onboarding · supabase.ts Supabase client
Components 21
Student experience
- Home dashboard
app/index.tsx - Student tools
app - Campus updates
app/updates.tsx - Share materials
app/share.tsx - Student onboarding
components/Onboarding.tsx - Animated splash
components/CustomSplashScreen.tsx
Learning content
- Content search
app/search.tsx - Resource browser
app/resources.tsx - Material detail
app/detail.tsx - Career hub
app/career.tsx - Career detail
app/career-detail.tsx - Video player
app/video-player.tsx - Career resource data
helpers/materialsData.ts
Content operations
- Admin console
app/admin.tsx
App platform
- Content API
helpers/api.ts - Supabase client
helpers/supabase.ts - Supabase backend
- Device storage
- Notifications
helpers/notifications.ts - App layout
app/_layout.tsx
Other components
- Student
Connections 22
- Student → Home dashboard: opens
- Home dashboard → Content API: fetches content
app/index.tsx - Home dashboard → Notifications: checks alerts
app/index.tsx - Student → Content search: searches
app/search.tsx - Content search → Content API: loads materials
app/search.tsx - Student → Resource browser: browses
- Resource browser → Content API: loads materials
app/resources.tsx - Student → Material detail: opens material
- Student → Career hub: explores careers
- Career detail → Career resource data: uses resources
app/career-detail.tsx - Video player → Career resource data: uses video data
app/video-player.tsx - Home dashboard → Student tools: opens CGPA tool
app/index.tsx - Student → Campus updates: views updates
- Student → Share materials: shares materials
- Admin console → Content API: manages content
app/admin.tsx - Content API → Supabase client: queries
helpers/api.ts - Supabase client → Supabase backend: connects
helpers/supabase.ts - Content API → Device storage: caches content
helpers/api.ts - Student onboarding → Supabase client: checks users
components/Onboarding.tsx - Student onboarding → Device storage: persists locally
- App layout → Animated splash: renders
app/_layout.tsx - App layout → Student onboarding: renders
app/_layout.tsx