How ramiismaeel/filmrate works
FilmRate is a movie and series discovery app: the home page fetches featured titles, while users search by query/type, browse cards, and open a details modal with ratings and metadata. Search and detail API routes use a shared OMDb client; the modal requests full title details on selection. The README gives no further product capabilities. Edges are limited to calls or UI relationships shown in excerpts or the source index; unsampled header/layout wiring is represented only where indexed.
Main entry points: omdb.ts OMDb Client · SearchSection.tsx Search State · page.tsx Featured Home · MovieModal.tsx Title Details
Components 15
Discovery UI
- Featured Home
app/page.tsx - Search State
app/components/SearchSection.tsx - Search Controls
app/components/SearchBar.tsx - Movie Grid
app/components/MovieGrid.tsx - Movie Card
app/components/MovieCard.tsx - Loading Card
app/components/SkeletonCard.tsx - Title Details
app/components/MovieModal.tsx - Rating Badge
app/components/RatingBadge.tsx - Site Header
app/components/Header.tsx
Application API
- Search Route
app/api/search/route.ts - Title Route
app/api/movie/[id]/route.ts
OMDb Data
- OMDb Client
app/lib/omdb.ts - Media Types
app/lib/types.ts
Other components
- Visitor
- OMDb API
Connections 21
- Visitor → Featured Home: opens
README.md - Featured Home → OMDb Client: fetches featured
app/page.tsx - Featured Home → Search State: renders
app/page.tsx - Search State → Search Controls: renders
app/components/SearchSection.tsx - Search State → Movie Grid: renders
app/components/SearchSection.tsx - Search State → Title Details: opens
app/components/SearchSection.tsx - Search State → Search Route: requests search
app/components/SearchSection.tsx - Title Details → Title Route: requests details
app/components/MovieModal.tsx - Movie Grid → Movie Card: renders
app/components/MovieGrid.tsx - Movie Grid → Loading Card: renders loading
app/components/MovieGrid.tsx - Movie Card → Title Details: selects title
- Movie Card → Rating Badge: renders ratings
app/components/MovieCard.tsx - Title Details → Rating Badge: renders ratings
app/components/MovieModal.tsx - Search Route → OMDb Client: calls search
app/api/search/route.ts - Title Route → OMDb Client: calls lookup
app/api/movie/[id]/route.ts - Featured Home → OMDb Client: loads details
app/page.tsx - OMDb Client → OMDb API: fetches data
app/lib/omdb.ts - OMDb Client → Media Types: uses contracts
app/lib/omdb.ts - Search Route → Media Types: returns typed data
- Title Route → Media Types: returns typed data
- Site Header → Visitor: presents navigation