How samyaktiwari16/watchnow works
WatchNow is a React movie-discovery application backed by Django REST Framework. Users browse a movie catalogue, filter and search it, then sign up or log in to manage watchlists and favourites and view a profile. The frontend calls the deployed API directly; the sampled backend views use serializers and Django models. The README also identifies PostgreSQL and Supabase, but the available excerpts do not establish Supabase’s runtime role or show all API routes, so those connections are not inferred.
Main entry points: App.jsx Route application · views.py REST API views · Home.jsx Movie discovery · navbar.jsx Navigation and search
Components 20
Movie experience
- Route application
WatchNow_Frontend/frontend/src/App.jsx - Movie discovery
WatchNow_Frontend/frontend/src/pages/Home.jsx - Navigation and search
WatchNow_Frontend/frontend/src/components/navbar.jsx - Search input
WatchNow_Frontend/frontend/src/components/searchbox.jsx - Movie cards
WatchNow_Frontend/frontend/src/components/moviecard.jsx - Empty results
WatchNow_Frontend/frontend/src/pages/Nothing.jsx - Watchlist
WatchNow_Frontend/frontend/src/pages/Watchlist.jsx - Favourites
WatchNow_Frontend/frontend/src/pages/Favourite.jsx - Shared footer
WatchNow_Frontend/frontend/src/components/footer.jsx - Section divider
WatchNow_Frontend/frontend/src/components/Bar.jsx
User identity
- Login
WatchNow_Frontend/frontend/src/pages/Login.jsx - Sign up
WatchNow_Frontend/frontend/src/pages/SignUp.jsx - Logout
WatchNow_Frontend/frontend/src/pages/Logout.jsx - Protected routes
WatchNow_Frontend/frontend/src/pages/ProtectedPage.jsx - User profile
WatchNow_Frontend/frontend/src/pages/Profile.jsx
API and domain
- REST API views
WatchNow_Backend/Backend/views.py - API serializers
WatchNow_Backend/Backend/serializers.py
Application data
- Domain models
WatchNow_Backend/Backend/models.py - PostgreSQL
Other components
- Movie viewer
Connections 36
- Movie viewer → Route application: uses
- Route application → Movie discovery: routes to
WatchNow_Frontend/frontend/src/App.jsx - Route application → Login: routes to
WatchNow_Frontend/frontend/src/App.jsx - Route application → Sign up: routes to
WatchNow_Frontend/frontend/src/App.jsx - Route application → Logout: routes to
WatchNow_Frontend/frontend/src/App.jsx - Route application → Protected routes: guards routes
WatchNow_Frontend/frontend/src/App.jsx - Route application → Watchlist: routes to
WatchNow_Frontend/frontend/src/App.jsx - Route application → Favourites: routes to
WatchNow_Frontend/frontend/src/App.jsx - Route application → User profile: routes to
WatchNow_Frontend/frontend/src/App.jsx - Movie discovery → Navigation and search: renders
WatchNow_Frontend/frontend/src/pages/Home.jsx - Movie discovery → Movie cards: renders
WatchNow_Frontend/frontend/src/pages/Home.jsx - Movie discovery → Empty results: renders
WatchNow_Frontend/frontend/src/pages/Home.jsx - Movie discovery → Shared footer: renders
WatchNow_Frontend/frontend/src/pages/Home.jsx - Movie discovery → Section divider: renders
WatchNow_Frontend/frontend/src/pages/Home.jsx - Navigation and search → Search input: renders
WatchNow_Frontend/frontend/src/components/navbar.jsx - Sign up → REST API views: registers via
- Movie discovery → REST API views: requests movies
- Watchlist → REST API views: reads and removes
- Favourites → REST API views: manages favourites
- Login → REST API views: authenticates via
- Logout → REST API views: logs out via
- User profile → Logout: offers logout
WatchNow_Frontend/frontend/src/pages/Profile.jsx - REST API views → API serializers: uses
WatchNow_Backend/Backend/views.py - REST API views → Domain models: queries
WatchNow_Backend/Backend/views.py - API serializers → Domain models: serializes
WatchNow_Backend/Backend/serializers.py - Domain models → PostgreSQL: persists data
- Watchlist → Navigation and search: renders
WatchNow_Frontend/frontend/src/pages/Watchlist.jsx - Watchlist → Shared footer: renders
WatchNow_Frontend/frontend/src/pages/Watchlist.jsx - Watchlist → Section divider: renders
WatchNow_Frontend/frontend/src/pages/Watchlist.jsx - Favourites → Navigation and search: renders
WatchNow_Frontend/frontend/src/pages/Favourite.jsx - Favourites → Shared footer: renders
WatchNow_Frontend/frontend/src/pages/Favourite.jsx - Favourites → Section divider: renders
WatchNow_Frontend/frontend/src/pages/Favourite.jsx - Login → Navigation and search: renders
WatchNow_Frontend/frontend/src/pages/Login.jsx - Login → Shared footer: renders
WatchNow_Frontend/frontend/src/pages/Login.jsx - Sign up → Navigation and search: renders
WatchNow_Frontend/frontend/src/pages/SignUp.jsx - Sign up → Shared footer: renders
WatchNow_Frontend/frontend/src/pages/SignUp.jsx