How sahumansi105-lgtm/campus-carnival-event works
Campus Carnival is a React event-discovery and event-management frontend. Visitors browse and inspect events; users can register and view their activity, while admins can create and manage events. The route table mounts the sampled pages, and the page components make HTTP requests to a backend. The README documents Manage Events and the user dashboard capability, but source excerpts do not establish their runtime wiring. Backend behavior and persistence are outside the shown repository evidence.
Main entry points: App.jsx Route Shell · Events.jsx Event Listing · EventDetails.jsx Event Details · RegisterEvent.jsx Event Registration
Components 18
Application Shell
- Route Shell
src/App.jsx - Navigation
src/components/Header.jsx - Site Footer
src/components/Footer.jsx
Event Discovery
- Event Listing
src/Pages/Events.jsx - Event Card
src/Pages/EventCard.jsx - Event Details
src/Pages/EventDetails.jsx - Home Page
src/Pages/Home.jsx
User Participation
- User Signup
src/Pages/Register.jsx - User Login
src/Pages/Login.jsx - Event Registration
src/Pages/RegisterEvent.jsx - User Dashboard
src/Pages/UserDashboard.jsx
Event Administration
- Admin Dashboard
src/Pages/AdminDashboard.jsx - Create Event
src/Pages/AddEvent.jsx - Manage Events
src/Pages/ManageEvents.jsx
Other components
- Visitor
- Signed-in User
- Administrator
- Campus Backend
Connections 25
- Visitor → Route Shell: opens
README.md - Signed-in User → Route Shell: opens
README.md - Administrator → Route Shell: opens
README.md - Route Shell → Navigation: renders
src/App.jsx - Route Shell → Site Footer: renders
src/App.jsx - Route Shell → Home Page: routes to
src/App.jsx - Route Shell → Event Listing: routes to
src/App.jsx - Route Shell → Event Details: routes to
src/App.jsx - Route Shell → User Login: routes to
src/App.jsx - Route Shell → User Signup: routes to
src/App.jsx - Route Shell → User Dashboard: routes to
src/App.jsx - Route Shell → Admin Dashboard: routes to
src/App.jsx - Route Shell → Create Event: routes to
src/App.jsx - Route Shell → Event Registration: routes to
src/App.jsx - Event Listing → Event Card: renders
src/Pages/Events.jsx - Event Listing → Campus Backend: fetches events
src/Pages/Events.jsx - Event Details → Campus Backend: fetches event
src/Pages/EventDetails.jsx - Event Details → Event Registration: navigates to
src/Pages/EventDetails.jsx - User Signup → Campus Backend: submits signup
src/Pages/Register.jsx - User Login → Campus Backend: submits credentials
src/Pages/Login.jsx - Event Registration → Campus Backend: submits booking
src/Pages/RegisterEvent.jsx - Admin Dashboard → Campus Backend: loads dashboard and users
src/Pages/AdminDashboard.jsx - Create Event → Campus Backend: creates event
src/Pages/AddEvent.jsx - Administrator → Manage Events: manages events
README.md - Signed-in User → User Dashboard: views registrations
README.md