How di-kar/repos_pmd_team2 works
PMD is a multi-service online cinema platform with administration, film discovery, identity, user-generated content, event analytics, and notification capabilities. Its user-facing flow spans film APIs and search, with separate services for authentication, profiles, and engagement; asynchronous event and notification pipelines provide supporting capabilities. Edges follow explicit README statements or shown imports/calls; several internal service-to-storage relationships are omitted where their implementation was not sampled.
Main entry points: auth.py Authentication · notifications.py Notification intake · views.py Cinema admin · films.py Film API
Components 20
Cinema and discovery
- Cinema admin
admin_panel/movies/api/v1/views.py - Film API
async_api/src/api/v1/films.py - Search storage
async_api/src/db/storage.py - Catalog ETL
fulltext_search/etl/main.py
Identity and profiles
- Authentication
auth_service/src/api/v1/auth.py - Auth database
auth_service/src/db/postgres.py - User profiles
user_profiles/src/api/v1/profiles.py
Events and analytics
- Event intake
event_api/src/api/v1/events.py - Event Kafka
- Analytics ETL
analytics_etl/src/main.py - ClickHouse
Notifications
- Notification admin
notification_admin_panel/notifications/services.py - Notification intake
notification_api/src/api/v1/notifications.py - Notification Kafka
- Notification worker
notification_worker/src/services/send_service.py
Short links
- Short-link service
link_shortener_service/src/services/link_service.py
Other components
- Viewer
- Email delivery
Connections 21
- Viewer → Film API: browses films
README.md - Film API → Search storage: searches catalog
- Cinema admin → Catalog ETL: manages catalog
- Catalog ETL → Search storage: indexes catalog
README.md - Viewer → Authentication: authenticates
README.md - Authentication → Auth database: stores identities
- Viewer → User profiles: manages profile
README.md - Viewer → UGC API: creates content
README.md - UGC API → UGC store: stores UGC
ugc_service/src/main.py - Viewer → Event intake: submits events
README.md - Event intake → Event Kafka: publishes events
- Event Kafka → Analytics ETL: provides events
README.md - Analytics ETL → ClickHouse: loads analytics
README.md - Cinema admin → Notification intake: requests notifications
README.md - Notification admin → Notification intake: submits campaigns
notification_admin_panel/notifications/services.py - Authentication → Notification intake: requests notices
README.md - Notification intake → Notification Kafka: publishes requests
README.md - Notification Kafka → Notification worker: delivers requests
README.md - Notification worker → Email delivery: sends email
README.md - Authentication → Short-link service: creates confirmation link
README.md - Short-link service → Authentication: confirms email