How surya-narayanan-k-s/srecieeesb works
IEEE SREC is a public student-branch portal with society chapter pages, event and leadership information, student membership services, and administrative controls. Visitors enter through the routed React app and browse the portal; students can register or access member features, while administrators manage content and visibility. Supabase-backed services provide content and records, and the documented currency and credential capabilities support membership workflows. The sampled app, services, and server establish only some wiring; unsampled page-to-service links are omitted rather than inferred.
Main entry points: App.js Routed Application · supabase.js Supabase Client · currency.js Forex Calculator · useCurrencyExchange.js Currency Polling
Components 26
Portal Experience
- Routed Application
src/core/App.js - Home Page
src/views/home/HomePage.js
Branch Information
- Information Pages
src/views/info - Society Chapters
src/views/societies - Event Reports
src/views/reports/EventReportsPage.js - Leadership Rosters
src/views/office-bearers - Gallery
src/views/info/GalleryPage.js
Member Services
- Membership Registration
src/views/student/MembershipRegistrationPage.js - Student Portal
src/views/student - Credential PDF
src/utils/cardPdfHelper.js - Currency Polling
src/hooks/useCurrencyExchange.js - Forex Calculator
src/utils/currency.js
Administration
- Page Visibility
src/hooks/usePageVisibility.js - Admin Console
src/views/admin
Data and Runtime
- Activity Data Service
src/database/services/activitiesService.js - Member Data Service
src/database/services/membersService.js - Content Data Service
src/services/contentService.js - Leadership Data Service
src/services/officeBearersService.js - Supabase Client
src/lib/supabase.js - HTTP Server
server/index.js - Static and SPA Handler
server/handlers/staticHandler.js
Other components
- Visitor
- Student
- Administrator
- Supabase
- Currency API
Connections 21
- Visitor → Routed Application: opens portal
- Student → Routed Application: opens portal
- Administrator → Routed Application: opens portal
- Routed Application → Home Page: routes to
- Routed Application → Information Pages: routes to
- Routed Application → Society Chapters: routes to
- Routed Application → Event Reports: routes to
- Routed Application → Leadership Rosters: routes to
- Routed Application → Gallery: routes to
- Routed Application → Membership Registration: routes to
- Routed Application → Student Portal: routes to
- Routed Application → Admin Console: routes to
- Currency Polling → Forex Calculator: calculates with
- Forex Calculator → Currency API: fetches rates
- Page Visibility → Supabase Client: reads and writes
- Content Data Service → Supabase Client: reads and writes
- Member Data Service → Supabase Client: reads and writes
- Activity Data Service → Supabase Client: reads and writes
- Leadership Data Service → Supabase Client: reads
- Supabase Client → Supabase: queries
- HTTP Server → Static and SPA Handler: dispatches requests