How optimaxin/kundli-mahayagya- works
This is a public registration and event-information site backed by a FastAPI/PostgreSQL system for family bookings, kund allocation, QR passes, and gate check-in. Visitors register, receive and retrieve passes, while volunteers authenticate and scan/check in attendees; organisers manage capacity, staff, analytics, and reports. Event-day RSVPs are a distinct flow and do not create bookings. The graph includes documented frontend and backend capabilities, but many API handlers and services were not excerpted, so uncertain internal call links are omitted.
Main entry points: router.py API router · App.jsx Web routes · db.js API client · Staff.jsx Staff console
Components 34
Public web
- Web routes
src/App.jsx - Public home
src/pages/Home.jsx - Event pages
src/pages/events - Event RSVP
src/components/EventRsvp.jsx - API client
src/lib/db.js - Event RSVP API
backend/app/api/v1/event_rsvps.py
Booking and passes
- Registration form
src/pages/Register.jsx - Ticket view
src/pages/Ticket.jsx - Find pass
src/pages/Find.jsx - Pass recovery
src/components/PassRecovery.jsx - Registration API
backend/app/api/v1/registrations.py - Booking services
backend/app/services - Session API
backend/app/api/v1/sessions.py - QR and pass APIs
backend/app/api/v1/qr.py - Recovery API
backend/app/api/v1/pass_recovery.py - Session service
backend/app/services/session_service.py
Gate operations
- Scanner UI
src/components/Scanner.jsx - Staff console
src/pages/Staff.jsx - Scanner API
backend/app/api/v1/scanner.py - Offline sync API
backend/app/api/v1/offline.py
Operations
- Admin console
src/pages/Admin.jsx - Staff auth API
backend/app/api/v1/auth.py - Admin API
backend/app/api/v1/admin.py - Reports API
backend/app/api/v1/reports.py - Authentication
backend/app/services/auth_service.py - Reporting
backend/app/services/reporting_service.py - Audit logging
backend/app/services/audit_service.py
API and persistence
- API router
backend/app/api/router.py - Transaction layer
backend/app/core/database.py - PostgreSQL data
backend/app/models - FastAPI application
backend/app/main.py
Other components
- Visitor
- Volunteer
- Organiser
Connections 42
- Visitor → Web routes: opens
README.md - Volunteer → Web routes: opens
README.md - Organiser → Web routes: opens
README.md - Web routes → Public home: routes
src/App.jsx - Web routes → Registration form: routes
src/App.jsx - Web routes → Ticket view: routes
src/App.jsx - Web routes → Find pass: routes
src/App.jsx - Web routes → Staff console: routes
src/App.jsx - Web routes → Admin console: routes
src/App.jsx - Web routes → Event pages: routes
src/App.jsx - Event pages → Event RSVP: renders
src/pages/events/Event13.jsx - Registration form → API client: requests
src/pages/Register.jsx - Ticket view → API client: requests
- Find pass → API client: requests
- Pass recovery → API client: requests
src/components/PassRecovery.jsx - Staff console → Scanner UI: renders
src/pages/Staff.jsx - Staff console → Pass recovery: renders
src/pages/Staff.jsx - Scanner UI → API client: requests
src/components/Scanner.jsx - Admin console → API client: requests
src/pages/Admin.jsx - Admin console → Scanner UI: renders
src/pages/Admin.jsx - Event RSVP → API client: requests
src/components/EventRsvp.jsx - API client → API router: HTTP requests
README.md - API router → Registration API: registers
backend/app/api/router.py - API router → Session API: registers
backend/app/api/router.py - API router → QR and pass APIs: registers
backend/app/api/router.py - API router → Recovery API: registers
backend/app/api/router.py - API router → Scanner API: registers
backend/app/api/router.py - API router → Offline sync API: registers
backend/app/api/router.py - API router → Staff auth API: registers
backend/app/api/router.py - API router → Admin API: registers
backend/app/api/router.py - API router → Reports API: registers
backend/app/api/router.py - API router → Event RSVP API: registers
backend/app/api/router.py - Registration API → Booking services: delegates
- Session API → Session service: uses
backend/app/api/v1/sessions.py - Staff auth API → Authentication: uses
- Reports API → Reporting: uses
- Authentication → Audit logging: records
backend/app/services/auth_service.py - Reporting → Audit logging: records
backend/app/services/reporting_service.py - FastAPI application → API router: mounts
backend/app/main.py - FastAPI application → Transaction layer: initializes
backend/app/main.py - Transaction layer → PostgreSQL data: transacts
- Session service → PostgreSQL data: reads
backend/app/services/session_service.py