How nikunjhadiya/streamflix-django works
StreamFlix is a Django movie and series browsing and streaming application. Users browse or search the catalog, inspect titles, and can proceed to video playback; signed-in users also manage profiles, watchlists, viewing history, reviews, and notifications. The sampled catalog views explicitly read across several app models and update watch history. Other capabilities are included from the README and file tree, but their internal call wiring was not sampled, so uncertain connections are omitted.
Main entry points: urls.py URL routing · catlog/views.py Catalog views · streaming/views.py Streaming views · models.py Notifications
Components 25
Web entry
- URL routing
streamflix/urls.py
Identity
- Account routes
auth_user/urls.py - Account and profile
auth_user/views.py - Profile data
auth_user/models.py - Profile context
auth_user/context_processors.py
Catalog discovery
- Catalog routes
catlog/urls.py - Catalog views
catlog/views.py - Movies and genres
catlog/models.py
Viewing
- Streaming routes
streaming/urls.py - Streaming views
streaming/views.py - Movie videos
streaming/models.py - Video player
streaming/static/streaming/js/player.js - Watch history
history/models.py
Engagement
- Watchlist routes
watchlist/urls.py - Watchlist views
watchlist/views.py - Watchlist data
watchlist/models.py - Review routes
reviews/urls.py - Review views
reviews/views.py - Reviews and ratings
reviews/models.py - Notification routes
notifications/urls.py - Notification actions
notifications/views.py - Notifications
notifications/models.py - Automatic notifications
notifications/signals.py - Notification badge
notifications/context_processors.py
Other components
- Viewer
Connections 27
- Viewer → URL routing: sends requests
- URL routing → Catalog routes: dispatches
- URL routing → Account routes: dispatches
- URL routing → Streaming routes: dispatches
- URL routing → Watchlist routes: dispatches
- URL routing → Review routes: dispatches
- URL routing → Notification routes: dispatches
- Catalog routes → Catalog views: routes to
- Account routes → Account and profile: routes to
- Streaming routes → Streaming views: routes to
- Watchlist routes → Watchlist views: routes to
- Review routes → Review views: routes to
- Notification routes → Notification actions: routes to
- Catalog views → Movies and genres: queries
- Catalog views → Movie videos: queries
- Catalog views → Reviews and ratings: queries
- Catalog views → Watch history: updates and reads
- Catalog views → Watchlist data: queries
- Streaming views → Movie videos: uses video data
- Video player → Streaming views: requests playback
- Account and profile → Profile data: manages profile
- Profile context → Profile data: gets or creates
- Watchlist views → Watchlist data: manages entries
- Review views → Reviews and ratings: manages reviews
- Notification actions → Notifications: manages notifications
- Notification badge → Notifications: counts unread
- Automatic notifications → Notifications: creates notifications