How mengheapk/frontend-final-project works
Event Planning Portal is a browser-based event organizer: users sign in, browse or create events, then inspect event details to manage RSVPs and shared tasks. Calendar and dashboard views help track upcoming events, responses, and assigned work; sharing supports invitations, while profile and theme settings personalize the app. Event, account, and theme state persist in browser local storage, with sample users and events seeded locally. The README contains no capability details, so documented scope is inferred from the source index and excerpts; some page-to-component links are supported by indexed imports rather than inspected implementation.
Main entry points: App.jsx Route Map · EventsContext.jsx Event State · AuthContext.jsx Account State · EventDetailPage.jsx Event Details
Components 30
Application Shell
- App Bootstrap
src/main.jsx - Route Map
src/App.jsx - Layout and Navigation
src/components/layout/Navbar.jsx - Protected Routes
src/components/layout/ProtectedRoute.jsx - Sign-in Page
src/pages/LoginPage.jsx - Dashboard
src/pages/DashboardPage.jsx - Profile Settings
src/pages/ProfilePage.jsx - Document Title
src/hooks/useDocumentTitle.js
Event Management
- Event Listing
src/pages/EventsPage.jsx - Event Form Page
src/pages/EventFormPage.jsx - Event Editor
src/components/events/EventForm.jsx - Event Details
src/pages/EventDetailPage.jsx - Event Card
src/components/events/EventCard.jsx - Event Filters
src/components/events/EventFilters.jsx - Calendar View
src/pages/CalendarPage.jsx - Month Grid
src/components/calendar/MonthGrid.jsx - Calendar Day
src/components/calendar/DayCell.jsx
Participation
- RSVP Page
src/pages/RsvpPage.jsx - RSVP Controls
src/components/rsvp/RsvpButtons.jsx - Guest List
src/components/rsvp/GuestList.jsx - Event Tasks
src/components/tasks/TaskList.jsx - Share Control
src/components/share/ShareButton.jsx - Share Utilities
src/utils/share.js
Shared State
- Account State
src/context/AuthContext.jsx - Event State
src/context/EventsContext.jsx - Theme State
src/context/ThemeContext.jsx - Persistence Hook
src/hooks/useLocalStorage.js - Browser Storage
- Demo Data
src/utils/seed.js
Other components
- Visitor
Connections 48
- Visitor → Route Map: uses routes
src/App.jsx - App Bootstrap → Route Map: renders
src/main.jsx - App Bootstrap → Account State: provides
src/main.jsx - App Bootstrap → Event State: provides
src/main.jsx - App Bootstrap → Theme State: provides
src/main.jsx - Route Map → Layout and Navigation: wraps routes
src/App.jsx - Route Map → Protected Routes: guards pages
src/App.jsx - Route Map → Sign-in Page: routes to
src/App.jsx - Route Map → Dashboard: routes to
src/App.jsx - Route Map → Event Listing: routes to
src/App.jsx - Route Map → Event Form Page: routes to
src/App.jsx - Route Map → Event Details: routes to
src/App.jsx - Route Map → RSVP Page: routes to
src/App.jsx - Route Map → Calendar View: routes to
src/App.jsx - Route Map → Profile Settings: routes to
src/App.jsx - Event Form Page → Event Editor: renders
src/pages/EventFormPage.jsx - Event Listing → Event Card: renders
src/pages/EventsPage.jsx - Event Listing → Event Filters: renders
src/pages/EventsPage.jsx - Dashboard → Event Card: renders
src/pages/DashboardPage.jsx - Calendar View → Month Grid: renders
src/pages/CalendarPage.jsx - Month Grid → Calendar Day: renders
src/components/calendar/MonthGrid.jsx - Event Details → Guest List: renders
src/pages/EventDetailPage.jsx - Event Details → Event Tasks: renders
src/pages/EventDetailPage.jsx - Event Details → Share Control: renders
src/pages/EventDetailPage.jsx - Share Control → Share Utilities: uses
src/components/share/ShareButton.jsx - RSVP Page → RSVP Controls: renders
src/pages/RsvpPage.jsx - RSVP Controls → Event State: updates RSVP
src/components/rsvp/RsvpButtons.jsx - Event Form Page → Event State: manages event
src/pages/EventFormPage.jsx - Event Details → Event State: reads and deletes
src/pages/EventDetailPage.jsx - Event Listing → Event State: reads events
src/pages/EventsPage.jsx - Calendar View → Event State: reads events
src/pages/CalendarPage.jsx - Dashboard → Event State: reads and updates
src/pages/DashboardPage.jsx - Event Tasks → Event State: manages tasks
src/components/tasks/TaskList.jsx - Guest List → Event State: reads guests
src/components/rsvp/GuestList.jsx - Sign-in Page → Account State: signs in
src/pages/LoginPage.jsx - Profile Settings → Account State: updates profile
src/pages/ProfilePage.jsx - Layout and Navigation → Account State: logs out
src/components/layout/Navbar.jsx - Layout and Navigation → Theme State: toggles theme
src/components/layout/Navbar.jsx - Event State → Account State: reads current user
src/context/EventsContext.jsx - Account State → Persistence Hook: persists account
src/context/AuthContext.jsx - Event State → Persistence Hook: persists events
src/context/EventsContext.jsx - Theme State → Persistence Hook: persists theme
src/context/ThemeContext.jsx - Persistence Hook → Browser Storage: reads and writes
src/hooks/useLocalStorage.js - Account State → Demo Data: loads demo users
src/context/AuthContext.jsx - Event State → Demo Data: creates sample events
src/context/EventsContext.jsx - Dashboard → Document Title: sets title
src/pages/DashboardPage.jsx - Event Details → Document Title: sets title
src/pages/EventDetailPage.jsx - Profile Settings → Document Title: sets title
src/pages/ProfilePage.jsx