How stuvascript/eventopia-frontend works
Eventopia’s frontend supports finding local events, browsing and saving them to a personal planner, alongside account registration, login, and password-recovery flows. The main journey is location/date search through event results, then saving an event and viewing saved itinerary items. The README identifies a separately deployed backend; this map shows only the frontend and its documented HTTP boundary. Some page and authentication wiring is visible in the app router, but unsampled page implementations and several API call details are not inferred.
Main entry points: App.jsx App router · NavBar.jsx Search navigation · EventResult.jsx Event results · EventGrid.jsx Home event grid
Components 24
App navigation
- App router
src/App.jsx - Home page
src/Components/Pages/HomePage.jsx
Event discovery
- Search navigation
src/Components/NavBar.jsx - Location picker
src/Components/Shared/LocationPicker.jsx - Date picker
src/Components/Shared/DatePicker.jsx - Event search API
- Results page
src/Components/Pages/EventResultPage.jsx - Event results
src/Components/EventResult.jsx - Home event grid
src/Components/EventGrid.jsx
Saved planner
- My planner
src/Components/Pages/MyPlanner.jsx - Itinerary API
- Empty planner view
src/Components/Shared/EmptyList.jsx
Account access
- Account forms
src/Components/Authentication/SignUp.jsx - Login form
src/Components/Authentication/Login.jsx - Auth state
src/context/AuthContext.jsx
Shared services
- Location and events
src/util/LocationHelper.jsx - Date filtering
src/util/daterangefilter.js - Event normalization
src/util/normalizeEvent.js - Event card
src/Components/Shared/EventCard.jsx - HTTP helpers
src/util/index.js
Other components
- Event seeker
- Eventopia backend
- Reverse geocoder
- Ticketmaster events
Connections 32
- Event seeker → App router: uses
src/App.jsx - App router → Home page: routes to
src/App.jsx - App router → Results page: routes to
src/App.jsx - App router → My planner: routes to
src/App.jsx - App router → Account forms: routes to
src/App.jsx - App router → Login form: routes to
src/App.jsx - Home page → Home event grid: renders
src/Components/Pages/HomePage.jsx - Search navigation → Location picker: renders
src/Components/NavBar.jsx - Search navigation → Date picker: renders
src/Components/NavBar.jsx - Search navigation → HTTP helpers: calls
src/Components/NavBar.jsx - Search navigation → Event search API: requests events
src/Components/NavBar.jsx - Event search API → Eventopia backend: HTTP request
- Results page → Event results: renders
src/Components/Pages/EventResultPage.jsx - Event results → Date filtering: filters with
src/Components/EventResult.jsx - Event results → Itinerary API: fetches saved items
src/Components/EventResult.jsx - Event results → Event card: renders
- Home event grid → Event card: renders
src/Components/EventGrid.jsx - Home event grid → Location and events: loads events
src/Components/EventGrid.jsx - Location and events → Reverse geocoder: reverse geocodes
src/util/LocationHelper.jsx - Location and events → Eventopia backend: requests events
src/util/LocationHelper.jsx - Eventopia backend → Ticketmaster events: queries events
- Home event grid → Event normalization: normalizes
src/Components/EventGrid.jsx - Event card → Itinerary API: saves event
src/Components/Shared/EventCard.jsx - My planner → HTTP helpers: calls
src/Components/Pages/MyPlanner.jsx - My planner → Itinerary API: loads itinerary
src/Components/Pages/MyPlanner.jsx - My planner → Empty planner view: renders when empty
src/Components/Pages/MyPlanner.jsx - Itinerary API → Eventopia backend: HTTP request
- Account forms → HTTP helpers: posts signup
src/Components/Authentication/SignUp.jsx - Account forms → Auth state: sets session
src/Components/Authentication/SignUp.jsx - Login form → Auth state: sets session
src/Components/Authentication/Login.jsx - App router → Auth state: provides
src/App.jsx - HTTP helpers → Eventopia backend: HTTP requests