How tushar-313/elevate works
Elevate is a club website and content platform: visitors discover club domains and history, explore events and learning resources, then participate and connect. Its runtime spans a React public site and an Express API with admin-managed content and Google-based authentication. The README documents challenges, sponsors, media, and domain journeys; their source modules are present in the tree, but their detailed wiring was not sampled. The graph shows documented capabilities without asserting unsampled calls; backend data operations are illustrated where controller evidence supports them.
Main entry points: App.jsx Site router · app.js API application · event.routes.js Event routes · resource.routes.js Resource routes
Components 28
Public experience
- Site router
frontend/src/App.jsx - Club discovery
frontend/src/pages/Home/Home.jsx - Events browser
frontend/src/pages/Events/EventsPage.jsx - Knowledge hub
frontend/src/pages/KnowledgeHub/KnowledgeHubPage.jsx - Club legacy
frontend/src/pages/Legacy/LegacyPage.jsx - Domain exploration
frontend/src/pages/Domains - Admin dashboard
frontend/src/pages/Admin/Dashboard/AdminDashboard.jsx
Content API
- API application
backend/src/app.js - Event routes
backend/src/routes/event.routes.js - Event management
backend/src/controllers/event.controller.js - Resource routes
backend/src/routes/resource.routes.js - Resource management
backend/src/controllers/resource.controller.js - Challenge content
backend/src/routes/challenge.routes.js - Legacy content
backend/src/routes/legacy.routes.js - Sponsor content
backend/src/routes/sponsor.routes.js - Media management
backend/src/routes/media.routes.js
Identity and access
- Session context
frontend/src/context/AuthContext.jsx - Auth routes
backend/src/routes/auth.routes.js - Google login
backend/src/controllers/auth.controller.js - Access checks
backend/src/middleware/auth.middleware.js
Persistence and media
- MongoDB
backend/src/config/db.js - Event records
backend/src/models/Event.js - Resource records
backend/src/models/Resource.js - User records
backend/src/models/User.js
Other components
- Visitor
- Club admin
- Cloudinary
backend/src/config/cloudinary.js - Google identity
Connections 32
- Visitor → Site router: visits
- Club admin → Admin dashboard: manages content
- Site router → Club discovery: renders
- Site router → Events browser: routes to
- Site router → Knowledge hub: routes to
- Site router → Club legacy: routes to
- Site router → Domain exploration: routes to
- Site router → Admin dashboard: routes to
- Site router → Session context: provides session
- Session context → API application: posts login
- API application → Auth routes: dispatches
- Auth routes → Google login: invokes
- Google login → Google identity: verifies token
- Google login → User records: reads and writes
- Auth routes → Access checks: uses access checks
- API application → Event routes: dispatches
- Event routes → Event management: invokes
- Event management → Event records: reads and writes
- API application → Resource routes: dispatches
- Resource routes → Resource management: invokes
- Resource management → Resource records: reads and writes
- Resource routes → Access checks: protects admin actions
- Event routes → Access checks: protects admin actions
- Event routes → Cloudinary: uploads images
- Resource routes → Cloudinary: uploads images
- API application → Challenge content: dispatches
- API application → Legacy content: dispatches
- API application → Sponsor content: dispatches
- API application → Media management: dispatches
- MongoDB → Event records: connects store
- MongoDB → Resource records: connects store
- MongoDB → User records: connects store