How kushwanthpallenna-alt/cine-social works
Cine Social is a Next.js movie and TV tracking app with catalog, watch-history, lists, reviews, profiles, and social features. A typical user explores a title, records ratings or rewatches, organizes titles into lists, and interacts with other users. The graph preserves those distinct feature areas and the shared UI/API layer. Evidence is limited: the README is a generic Next.js starter, and many routes and pages were indexed but not excerpted, so uncertain connections are omitted.
Main entry points: MovieDetailsClient.tsx Movie details · NotificationBell.tsx Notifications UI · ReviewCard.tsx Review interactions · TvDetailsClient.tsx TV details
Components 24
Catalog discovery
- Movie details
src/components/MovieDetailsClient.tsx - TV details
src/components/TvDetailsClient.tsx - Person details
src/components/PersonDetailClient.tsx - Recommendations
src/app/recommendations/page.tsx - TMDB API
src/app/api/tmdb/route.ts
Tracking and lists
- Watch tracking
src/app/api/watched/route.ts - Rewatch logging
src/components/RewatchModal.tsx - Watch log API
src/app/api/watch-log/route.ts - List management UI
src/components/AddToListModal.tsx - Lists API
src/app/api/lists/route.ts - List items API
src/app/api/list-items/route.ts
Social community
- Review interactions
src/components/ReviewCard.tsx - Review likes API
src/app/api/reviews/likes/route.ts - Review replies API
src/app/api/reviews/replies/route.ts - Social feed
src/app/api/social-feed/route.ts - Notifications UI
src/components/NotificationBell.tsx - Notifications API
src/app/api/notifications/route.ts
App and services
- Authentication
src/app/api/auth/[...nextauth]/route.ts - Sign-in prompt
src/components/AuthPromptProvider.tsx - Supabase client
src/lib/supabase.ts - Media URL helpers
src/lib/slug.ts - Avatar validation
src/lib/avatar.ts
Other components
- Viewer
- Supabase
Connections 21
- Viewer → Movie details: opens title
README.md - Movie details → Supabase client: uses client
src/components/MovieDetailsClient.tsx - TV details → Supabase client: uses client
src/components/TvDetailsClient.tsx - Supabase client → Supabase: connects
src/lib/supabase.ts - Movie details → Media URL helpers: builds URLs
src/components/MovieDetailsClient.tsx - TV details → Media URL helpers: builds URLs
src/components/TvDetailsClient.tsx - Person details → Media URL helpers: builds URLs
src/components/PersonDetailClient.tsx - Movie details → Notifications UI: renders
src/components/MovieDetailsClient.tsx - TV details → Notifications UI: renders
src/components/TvDetailsClient.tsx - Person details → Notifications UI: renders
src/components/PersonDetailClient.tsx - Movie details → TMDB API: requests data
- Rewatch logging → Watch log API: submits log
src/components/RewatchModal.tsx - List management UI → Lists API: creates list
src/components/AddToListModal.tsx - List management UI → List items API: adds title
src/components/AddToListModal.tsx - Review interactions → Review likes API: submits likes
src/components/ReviewCard.tsx - Review interactions → Review replies API: submits replies
src/components/ReviewCard.tsx - Notifications UI → Notifications API: fetches and updates
src/components/NotificationBell.tsx - Notifications UI → Avatar validation: validates avatars
src/components/NotificationBell.tsx - Review interactions → Avatar validation: validates avatars
src/components/ReviewCard.tsx - Review interactions → Sign-in prompt: requests sign-in
src/components/ReviewCard.tsx - Sign-in prompt → Authentication: routes to sign-in