# rinkush45/hotstar-clone architecture

> Architecture diagram of the GitHub repository rinkush45/hotstar-clone, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rinkush45/hotstar-clone
- Repository: https://github.com/rinkush45/hotstar-clone

## Overview

This is a React-based Hotstar-style streaming catalog clone. The app mounts a composed home page with navigation, a featured banner, movie rows, platform and language/genre showcases, and a footer. Movie rows receive feed URLs from the app, request catalog results through an Axios client configured for TMDB, and render poster and title details. The source excerpts show the app composition and catalog-fetch path; several presentation components are represented by their exact tree paths, but their internals were not sampled.

Main entry points: [`src/App.js`](https://github.com/rinkush45/hotstar-clone/blob/main/src/App.js) (Home page), [`src/components/Row.jsx`](https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Row.jsx) (Movie rows), [`src/tmdbAxiosInstance.js`](https://github.com/rinkush45/hotstar-clone/blob/main/src/tmdbAxiosInstance.js) (TMDB Axios client), [`src/index.js`](https://github.com/rinkush45/hotstar-clone/blob/main/src/index.js) (React mount)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_application["Application shell"]
  node_mount["React mount<br/>[index.js]"]
  node_app["Home page<br/>[App.js]"]
  node_banner["Featured banner<br/>[Banner.jsx]"]
end

subgraph group_catalog["Catalog discovery"]
  node_rows["Movie rows<br/>[Row.jsx]"]
  node_feeds["Feed definitions<br/>[request.jsx]"]
  node_http["TMDB Axios client"]
end

subgraph group_showcases["Content showcases"]
  node_platforms["Platform showcase<br/>[Platforms.jsx]"]
  node_languages["Language showcase<br/>[Language.jsx]"]
  node_genres["Genre showcase<br/>[Genre.jsx]"]
end

subgraph group_chrome["Navigation and footer"]
  node_nav["Navigation links<br/>[Nav.jsx]"]
  node_navbar["Icon navigation<br/>[NavBar.jsx]"]
  node_footer["Site footer<br/>[Footer.jsx]"]
end

node_tmdb{{"TMDB API"}}

node_mount -->|"renders"| node_app
node_app -->|"renders"| node_nav
node_app -->|"renders"| node_navbar
node_app -->|"renders"| node_banner
node_app -->|"renders"| node_rows
node_app -->|"passes feed URLs"| node_feeds
node_app -->|"renders"| node_platforms
node_app -->|"renders"| node_languages
node_app -->|"renders"| node_genres
node_app -->|"renders"| node_footer
node_rows -->|"requests through"| node_http
node_rows -->|"fetches catalog data"| node_tmdb
node_http -->|"configures API base"| node_tmdb

click node_mount "https://github.com/rinkush45/hotstar-clone/blob/main/src/index.js"
click node_app "https://github.com/rinkush45/hotstar-clone/blob/main/src/App.js"
click node_banner "https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Banner.jsx"
click node_rows "https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Row.jsx"
click node_feeds "https://github.com/rinkush45/hotstar-clone/blob/main/src/request.jsx"
click node_http "https://github.com/rinkush45/hotstar-clone/blob/main/src/tmdbAxiosInstance.js"
click node_platforms "https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Platforms.jsx"
click node_languages "https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Language.jsx"
click node_genres "https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Genre.jsx"
click node_nav "https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Nav.jsx"
click node_navbar "https://github.com/rinkush45/hotstar-clone/blob/main/src/components/NavBar.jsx"
click node_footer "https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Footer.jsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_mount,node_app,node_banner toneBlue
class node_rows,node_feeds,node_http toneAmber
class node_platforms,node_languages,node_genres,node_tmdb toneMint
class node_nav,node_navbar,node_footer toneRose
```

## Components

### Application shell

- [React mount](https://github.com/rinkush45/hotstar-clone/blob/main/src/index.js): `src/index.js`
- [Home page](https://github.com/rinkush45/hotstar-clone/blob/main/src/App.js): `src/App.js`
- [Featured banner](https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Banner.jsx): `src/components/Banner.jsx`

### Catalog discovery

- [Movie rows](https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Row.jsx): `src/components/Row.jsx`
- [Feed definitions](https://github.com/rinkush45/hotstar-clone/blob/main/src/request.jsx): `src/request.jsx`
- [TMDB Axios client](https://github.com/rinkush45/hotstar-clone/blob/main/src/tmdbAxiosInstance.js): `src/tmdbAxiosInstance.js`

### Content showcases

- [Platform showcase](https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Platforms.jsx): `src/components/Platforms.jsx`
- [Language showcase](https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Language.jsx): `src/components/Language.jsx`
- [Genre showcase](https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Genre.jsx): `src/components/Genre.jsx`

### Navigation and footer

- [Navigation links](https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Nav.jsx): `src/components/Nav.jsx`
- [Icon navigation](https://github.com/rinkush45/hotstar-clone/blob/main/src/components/NavBar.jsx): `src/components/NavBar.jsx`
- [Site footer](https://github.com/rinkush45/hotstar-clone/blob/main/src/components/Footer.jsx): `src/components/Footer.jsx`

### Other components

- **TMDB API**

## Connections

- React mount → Home page: renders (evidence: `src/index.js`)
- Home page → Navigation links: renders (evidence: `src/App.js`)
- Home page → Icon navigation: renders (evidence: `src/App.js`)
- Home page → Featured banner: renders (evidence: `src/App.js`)
- Home page → Movie rows: renders (evidence: `src/App.js`)
- Home page → Feed definitions: passes feed URLs (evidence: `src/App.js`)
- Home page → Platform showcase: renders (evidence: `src/App.js`)
- Home page → Language showcase: renders (evidence: `src/App.js`)
- Home page → Genre showcase: renders (evidence: `src/App.js`)
- Home page → Site footer: renders (evidence: `src/App.js`)
- Movie rows → TMDB Axios client: requests through (evidence: `src/components/Row.jsx`)
- Movie rows → TMDB API: fetches catalog data (evidence: `src/components/Row.jsx`)
- TMDB Axios client → TMDB API: configures API base (evidence: `src/tmdbAxiosInstance.js`)
