How akhiatadem/azurebackend works
This is a Django cinema-booking API: users browse films and screenings, select seats, pay for tickets, and can verify tickets; staff manage cinema data and review sales. Account verification, password recovery, membership, and a movie-and-schedule chatbot are additional product flows. The sampled views show these responsibilities but omit substantial sections, and URL wiring was not sampled, so the diagram avoids asserting route-level connections beyond the visible chatbot view-to-service call.
Main entry points: core/views.py Cinema API views · services.py Chat response service · models.py Catalog and schedules · chatbot/views.py Chat endpoint
Components 15
Cinema catalog
- Catalog and schedules
core/models.py
Booking and payments
- Cinema API views
core/views.py - Seats and tickets
core/models.py - API serializers
core/serializers.py - Payment simulation
core/utils_payment.py
Accounts and management
- Profiles and codes
core/models.py - Token authentication
core/authentication.py - API configuration
myproject/settings.py
Cinema assistant
- Chat endpoint
chatbot/views.py - Chat response service
chatbot/services.py
Other components
- API user
- Cinema staff
- Application database
- Email service
- Gemini API
Connections 17
- API user → Cinema API views: sends requests
- Cinema staff → Cinema API views: manages cinema
- Cinema API views → API serializers: validates data
- Cinema API views → Catalog and schedules: manages catalog
- Cinema API views → Seats and tickets: books tickets
- Cinema API views → Profiles and codes: manages accounts
- Catalog and schedules → Application database: reads and writes
- Seats and tickets → Application database: reads and writes
- Profiles and codes → Application database: reads and writes
- Cinema API views → Payment simulation: simulates payment
- Cinema API views → Email service: sends verification mail
- API configuration → Token authentication: configures
- API user → Chat endpoint: sends message
- Chat endpoint → Chat response service: gets response
- Chat response service → Catalog and schedules: reads movies and screenings
- Chat response service → Gemini API: requests generated reply
- Chat response service → Application database: reads context