How saidinyanguila/stream works
Stream is a client-side movie and TV discovery interface backed by The Movie Database (TMDB). Users browse popular titles, search movies or shows, select a title, and view its details; TV details also expose seasons and episodes. The app routes requests to page components, which fetch data through a small API service and render reusable navigation, sections, and cards. The README describes only a Vite starter, so product capabilities are inferred from the supplied source. Some component and page implementations were not excerpted; their connections are omitted where evidence is unavailable.
Main entry points: App.tsx Route shell · Index.tsx Home page · Search.tsx Search page · WatchTv.tsx TV details
Components 18
Routing and pages
- Route shell
src/App.tsx - Home page
src/pages/Index.tsx - Category page
src/pages/Category.tsx - Search page
src/pages/Search.tsx - Not found
src/pages/NotFound.tsx
Discovery interface
- Navigation
src/components/Nav.tsx - Featured banner
src/components/Banner.tsx - Continue watching
src/components/ContinueWatching.tsx - Title carousel
src/components/Section.tsx - Movie card
src/components/MovieCard.tsx - TV card
src/components/TvCard.tsx - Footer
src/components/Footer.tsx
Title details
- Movie details
src/pages/Watch.tsx - TV details
src/pages/WatchTv.tsx - Episode selector
src/components/Episodes.tsx
Catalog data
- TMDB API client
src/services/API.ts - TMDB service
Other components
- Visitor
Connections 37
- Visitor → Route shell: opens app
- Route shell → Home page: routes to
src/App.tsx - Route shell → Search page: routes to
src/App.tsx - Route shell → Category page: routes to
src/App.tsx - Route shell → Movie details: routes to
src/App.tsx - Route shell → TV details: routes to
src/App.tsx - Route shell → Not found: fallback route
src/App.tsx - Home page → TMDB API client: fetches popular
src/pages/Index.tsx - Category page → TMDB API client: fetches popular
src/pages/Category.tsx - Search page → TMDB API client: searches titles
src/pages/Search.tsx - Movie details → TMDB API client: loads movie
src/pages/Watch.tsx - TV details → TMDB API client: loads show
src/pages/WatchTv.tsx - TMDB API client → TMDB service: requests catalog
src/services/API.ts - Home page → Navigation: renders
src/pages/Index.tsx - Home page → Featured banner: renders
src/pages/Index.tsx - Home page → Continue watching: renders
src/pages/Index.tsx - Home page → Title carousel: renders
src/pages/Index.tsx - Home page → Footer: renders
src/pages/Index.tsx - Category page → Navigation: renders
src/pages/Category.tsx - Category page → Title carousel: renders
src/pages/Category.tsx - Category page → Footer: renders
src/pages/Category.tsx - Search page → Navigation: renders
src/pages/Search.tsx - Search page → Movie card: renders results
src/pages/Search.tsx - Search page → TV card: renders results
src/pages/Search.tsx - Search page → Footer: renders
src/pages/Search.tsx - Movie details → Navigation: renders
src/pages/Watch.tsx - Movie details → Title carousel: renders
src/pages/Watch.tsx - Movie details → Footer: renders
src/pages/Watch.tsx - TV details → Navigation: renders
src/pages/WatchTv.tsx - TV details → Episode selector: renders
src/pages/WatchTv.tsx - TV details → Title carousel: renders
src/pages/WatchTv.tsx - TV details → Footer: renders
src/pages/WatchTv.tsx - Title carousel → Movie card: renders movies
src/components/Section.tsx - Title carousel → TV card: renders shows
src/components/Section.tsx - Navigation → Search page: submits search
src/pages/Search.tsx - Movie card → Movie details: links to details
- TV card → TV details: links to details