How setemad-tech/outly-backend works
OUTLY is a Django event-ticketing platform. Attendees discover events, create bookings, and pay through Stripe; organizers publish events, while staff manage the marketplace and review analytics. The domain also includes account verification, ticket pricing and promotions, loyalty rewards, QR check-in, and event chat. The graph reflects relationships visible in sampled excerpts or the SOURCE INDEX; the README is empty, and several product areas are represented from the file tree without asserted call relationships.
Main entry points: bookings/services.py Booking service · payments/services.py Stripe payments · models.py Booking records · quote.py Quote builder
Components 33
Identity and accounts
- Account API
accounts/views.py - Identity records
accounts/models.py - Email verification
accounts/otp.py
Events and pricing
- Event API
events/views.py - Event catalog
events/models.py - Ticket pricing
events/pricing.py
Booking and payments
- Booking API
bookings/views.py - Quote builder
bookings/quote.py - Booking service
bookings/services.py - Booking records
bookings/models.py - Ticket email
bookings/emails.py - QR tickets
bookings/qr.py - Payment API
payments/views.py - Stripe payments
payments/services.py
Rewards and chat
- Promo validation
promos/services.py - Promo codes
promos/models.py - Loyalty levels
loyalty/levels.py - Loyalty ledger
loyalty/services.py - Loyalty entries
loyalty/models.py - Chat API
chat/views.py - Chat routing
chat/routing.py - Chat consumer
chat/consumers.py - Chat records
chat/models.py - Chat signals
chat/signals.py - Chat app registration
chat/apps.py
Staff operations
- Staff API
backoffice/views.py - Analytics
backoffice/analytics.py - Staff serializers
backoffice/serializers.py - Staff action records
backoffice/models.py
Other components
- Attendee
- Organizer
- Staff
- Stripe
Connections 38
- Attendee → Account API: manages account
- Account API → Identity records: reads and writes
accounts/views.py - Account API → Email verification: uses verification
accounts/views.py - Organizer → Event API: manages events
- Event API → Event catalog: serves events
- Attendee → Booking API: books tickets
- Booking API → Booking service: creates bookings
- Booking service → Event catalog: locks event
bookings/services.py - Booking service → Quote builder: builds quote
bookings/services.py - Booking service → Booking records: creates booking
bookings/services.py - Quote builder → Ticket pricing: uses calculations
bookings/quote.py - Quote builder → Promo validation: checks promo
bookings/quote.py - Quote builder → Loyalty levels: checks level
bookings/quote.py - Promo validation → Promo codes: validates code
promos/services.py - Promo validation → Event catalog: checks event
promos/services.py - Promo validation → Loyalty levels: checks eligibility
promos/services.py - Payment API → Stripe payments: handles payment
payments/views.py - Payment API → Booking service: starts checkout
payments/views.py - Stripe payments → Stripe: creates sessions
payments/services.py - Stripe payments → Booking records: confirms booking
payments/services.py - Stripe payments → Ticket email: sends ticket
payments/services.py - Stripe payments → Loyalty ledger: awards points
payments/services.py - Booking service → Loyalty ledger: redeems points
bookings/services.py - Loyalty ledger → Loyalty entries: writes entries
loyalty/services.py - Loyalty levels → Booking records: counts attendance
loyalty/levels.py - Loyalty levels → Ticket pricing: uses point rate
loyalty/levels.py - Booking records → QR tickets: ticket identity
- Attendee → Chat API: uses chat
- Chat routing → Chat consumer: routes sockets
chat/routing.py - Chat consumer → Chat records: uses messages
chat/consumers.py - Chat app registration → Chat signals: registers signals
chat/apps.py - Staff → Staff API: manages platform
- Staff API → Analytics: requests overview
backoffice/views.py - Staff API → Staff serializers: formats responses
backoffice/views.py - Analytics → Booking records: aggregates sales
backoffice/analytics.py - Analytics → Event catalog: aggregates events
backoffice/analytics.py - Analytics → Identity records: aggregates users
backoffice/analytics.py - Staff API → Staff action records: records actions
backoffice/views.py