How firat-o/invite-card works
This is a Next.js wedding-invitation and RSVP-management app. Invitees view the invitation, submit an acceptance or decline with guest counts and names, and the form writes RSVP records to Firestore. Administrators use the login page and Firebase Authentication to reach a dashboard that lists and summarizes RSVPs and can delete all records. The dashboard excerpt is partial; its authentication, query, and bulk-delete behavior is visible, but other details are not inferred.
Main entry points: login/page.tsx Admin login · app/page.tsx Invitation page · dashboard/page.tsx RSVP dashboard · firebase.js Firebase client
Components 10
Invitation and RSVP
- Invitation page
app/page.tsx - RSVP form
components/Form.tsx - Background animation
components/LeafAnimation.tsx
Admin management
- Admin login
app/admin/login/page.tsx - RSVP dashboard
app/admin/dashboard/page.tsx
Firebase services
- Firebase client
firebase/firebase.js - Firebase Auth
- Firestore
Other components
- Invitee
- Administrator
Connections 13
- Invitee → Invitation page: views
- Invitation page → RSVP form: renders
- Invitation page → Background animation: renders
- RSVP form → Firestore: writes RSVP
- Administrator → Admin login: enters credentials
- Invitation page → Admin login: links to
- Admin login → Firebase Auth: signs in
- Admin login → RSVP dashboard: navigates on success
- RSVP dashboard → Firebase Auth: observes session; signs out
- RSVP dashboard → Admin login: redirects when signed out
- RSVP dashboard → Firestore: reads; deletes records
- Firebase client → Firebase Auth: initializes
- Firebase client → Firestore: initializes