How namandudhoria/rallygully_pulse works
RallyGully Pulse is an internal venue-operations and performance-intelligence system. Venue staff and HQ use the React dashboard to manage bookings, facility availability, payments, community and academy activity, configuration, and access; the FastAPI backend enforces permissions and applies business rules to persisted records. Analytics are recomputed from operational data and surfaced as portfolio and venue insights. The graph includes documented integrations and major UI capabilities, but several subsystems were not sampled in source, so uncertain implementation links are omitted.
Main entry points: main.py FastAPI application · App.jsx Pulse dashboard · bookings.py Booking lifecycle · inventory.py Availability ledger
Components 29
Operations dashboard
- Pulse dashboard
frontend/src/App.jsx - Venue operations
frontend/src/pages/VenueDay.jsx - Programs
frontend/src/pages/Programs.jsx - Analytics
frontend/src/pages/Analytics.jsx - Portfolio
frontend/src/pages/Portfolio.jsx - Configuration and admin
frontend/src/pages/Admin.jsx - People and access UI
frontend/src/pages/People.jsx - API client
frontend/src/lib/api.js
Identity and access
- Sessions and tokens
backend/app/auth.py - Role permissions
backend/app/permissions.py - Authentication API
backend/app/routers/auth_routes.py - People API
backend/app/routers/people.py
Venue operations
- Venue API
backend/app/routers/venues.py - Operations API
backend/app/routers/operations.py - Admin API
backend/app/routers/admin.py - Booking lifecycle
backend/app/services/bookings.py - Community and academy
backend/app/services/activities.py - Availability ledger
backend/app/services/inventory.py
Performance intelligence
- Analytics API
backend/app/routers/analytics_routes.py - Metrics and trends
backend/app/services/analytics.py - Anomaly insights
backend/app/services/anomaly.py
Runtime and integrations
- FastAPI application
backend/app/main.py - Operational records
backend/app/models.py - SQL database
backend/app/db.py - Scheduled jobs
backend/app/scheduler.py - District booking source
backend/app/services/district.py
Other components
- HQ and venue staff
- WhatsApp Cloud API
- Mail services
Connections 41
- HQ and venue staff → Pulse dashboard: uses
README.md - Pulse dashboard → Venue operations: routes to
frontend/src/App.jsx - Pulse dashboard → Programs: routes to
frontend/src/App.jsx - Pulse dashboard → Analytics: routes to
frontend/src/App.jsx - Pulse dashboard → Portfolio: routes to
frontend/src/App.jsx - Pulse dashboard → Configuration and admin: routes to
frontend/src/App.jsx - Pulse dashboard → People and access UI: routes to
frontend/src/App.jsx - Venue operations → API client: requests data
frontend/src/pages/VenueDay.jsx - Programs → API client: requests data
frontend/src/pages/Programs.jsx - Configuration and admin → API client: requests data
frontend/src/pages/Admin.jsx - API client → FastAPI application: calls API
- FastAPI application → Authentication API: mounts routes
backend/app/main.py - FastAPI application → Venue API: mounts routes
backend/app/main.py - FastAPI application → Operations API: mounts routes
backend/app/main.py - FastAPI application → Admin API: mounts routes
backend/app/main.py - FastAPI application → Analytics API: mounts routes
backend/app/main.py - FastAPI application → People API: mounts routes
backend/app/main.py - Authentication API → Sessions and tokens: uses sessions
backend/app/routers/auth_routes.py - Authentication API → Role permissions: checks access
backend/app/routers/auth_routes.py - People API → Role permissions: checks access
- Venue API → Role permissions: checks access
backend/app/routers/venues.py - Operations API → Role permissions: checks access
backend/app/routers/operations.py - Venue API → Booking lifecycle: uses lifecycle
backend/app/routers/venues.py - Venue API → Availability ledger: reads availability
backend/app/routers/venues.py - Operations API → Booking lifecycle: uses lifecycle
backend/app/routers/operations.py - Operations API → Community and academy: manages activities
backend/app/routers/operations.py - Booking lifecycle → Availability ledger: allocates capacity
backend/app/services/bookings.py - Community and academy → Availability ledger: allocates capacity
backend/app/services/activities.py - Admin API → District booking source: manages ingestion
backend/app/routers/admin.py - Admin API → Operational records: updates records
backend/app/routers/admin.py - Analytics API → Metrics and trends: computes metrics
backend/app/routers/analytics_routes.py - Analytics API → Anomaly insights: requests insights
backend/app/routers/analytics_routes.py - Metrics and trends → Availability ledger: reads capacity
backend/app/services/analytics.py - Booking lifecycle → Operational records: records bookings
backend/app/services/bookings.py - Availability ledger → Operational records: records allocations
backend/app/services/inventory.py - Operational records → SQL database: persists in
backend/app/models.py - FastAPI application → Scheduled jobs: starts jobs
backend/app/main.py - Scheduled jobs → District booking source: polls source
README.md - District booking source → Mail services: reads mailbox
README.md - Booking lifecycle → WhatsApp Cloud API: sends updates
README.md - Scheduled jobs → Mail services: sends alerts
README.md