How iwodud/partyplanner works
PartyPlanner is a React/Supabase app for coordinating friend-group meetups. Members authenticate, create or join groups, manage membership and invitations, then schedule group events and record RSVP responses in a calendar. The frontend calls Supabase Auth and Postgres through a shared client; database migrations define the schema and access policies. The excerpts show group and calendar operations, while README documents the Supabase backend setup. Other migration behavior and unsampled pages are not inferred beyond those documented capabilities.
Main entry points: router.jsx Route dispatch · AuthContext.jsx Session and auth · groupsApi.js Group operations · supabaseClient.js Supabase client
Components 19
App entry and routing
- Frontend bootstrap
frontend/src/main.jsx - Route dispatch
frontend/src/router.jsx - Root redirect
frontend/src/App.jsx
Identity and access
- Sign in and signup
frontend/src/components/SignInPage.jsx - Registration form
frontend/src/components/SignUpPage.jsx - Input validation
frontend/src/utils/validation.js - Session and auth
frontend/src/Context/AuthContext.jsx - Route guards
frontend/src/components/PrivateRoute.jsx
Group coordination
- Group dashboard
frontend/src/components/Dashboard.jsx - Group details
frontend/src/components/GroupPage.jsx - Join invitation
frontend/src/components/JoinGroupPage.jsx - Group operations
frontend/src/Context/groupsApi.js
Events and responses
- Group calendar
frontend/src/components/CalendarPage.jsx
Supabase services
- Supabase Auth
- Supabase client
frontend/src/Context/supabaseClient.js - Groups and profiles
backend/supabase/migrations/20261102115422_initial_schema.sql - Invite procedures
backend/supabase/migrations/20261103160000_group_invites.sql - Events and RSVPs
backend/supabase/migrations/20261114120000_events_and_rsvps.sql
Other components
- Group member
Connections 26
- Group member → Frontend bootstrap: opens app
README.md - Frontend bootstrap → Session and auth: provides session
frontend/src/main.jsx - Frontend bootstrap → Route dispatch: renders routes
frontend/src/main.jsx - Route dispatch → Root redirect: routes root
frontend/src/router.jsx - Route dispatch → Sign in and signup: routes signin
frontend/src/router.jsx - Route dispatch → Registration form: routes signup
frontend/src/router.jsx - Route dispatch → Group dashboard: routes dashboard
frontend/src/router.jsx - Route dispatch → Group details: routes group
frontend/src/router.jsx - Route dispatch → Join invitation: routes invitation
frontend/src/router.jsx - Route dispatch → Group calendar: routes calendar
frontend/src/router.jsx - Sign in and signup → Input validation: validates input
frontend/src/components/SignInPage.jsx - Registration form → Input validation: validates input
frontend/src/components/SignUpPage.jsx - Sign in and signup → Session and auth: authenticates
frontend/src/components/SignInPage.jsx - Registration form → Session and auth: registers account
frontend/src/components/SignUpPage.jsx - Session and auth → Supabase client: uses client
frontend/src/Context/AuthContext.jsx - Session and auth → Supabase Auth: calls auth API
frontend/src/Context/AuthContext.jsx - Session and auth → Route guards: supplies session
frontend/src/Context/AuthContext.jsx - Group dashboard → Group operations: manages groups
frontend/src/components/Dashboard.jsx - Group details → Group operations: loads and updates
frontend/src/components/GroupPage.jsx - Join invitation → Group operations: joins group
frontend/src/components/JoinGroupPage.jsx - Group operations → Supabase client: queries data
frontend/src/Context/groupsApi.js - Supabase client → Groups and profiles: reads and writes
- Group operations → Invite procedures: calls group RPCs
frontend/src/Context/groupsApi.js - Group calendar → Supabase client: queries events
frontend/src/components/CalendarPage.jsx - Supabase client → Events and RSVPs: reads and writes
- Group calendar → Session and auth: reads session
frontend/src/components/CalendarPage.jsx