# tatoon0/itview architecture

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

- Interactive diagram: https://gitdiagram.com/tatoon0/itview
- Repository: https://github.com/tatoon0/itview

## Overview

itview is an entertainment discovery and community web application for browsing movies, series, books, webtoons and records, then rating, wishlisting, commenting on and organizing content. Users enter through the routed frontend, browse or search, and open content details to engage; separate areas expose people, collections, notifications and user activity. The supplied repository evidence covers the React frontend but no backend runtime source, so backend behavior is represented only as an external API. Some page and API relationships are documented by the source index rather than inspected excerpts.

Main entry points: [`frontend/src/routes/AppRoutes.jsx`](https://github.com/tatoon0/itview/blob/main/frontend/src/routes/AppRoutes.jsx) (App route dispatch), [`frontend/src/pages/DetailPage/DetailPage.js`](https://github.com/tatoon0/itview/blob/main/frontend/src/pages/DetailPage/DetailPage.js) (Content detail), [`frontend/src/routes/SearchRoutes.jsx`](https://github.com/tatoon0/itview/blob/main/frontend/src/routes/SearchRoutes.jsx) (Search routes), [`frontend/src/routes/ContentRoutes.jsx`](https://github.com/tatoon0/itview/blob/main/frontend/src/routes/ContentRoutes.jsx) (Content routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["Navigation and discovery"]
  node_app_routes["App route dispatch<br/>[AppRoutes.jsx]"]
  node_home_routes["Home browsing routes<br/>[HomeRoutes.jsx]"]
  node_home_page["Home discovery<br/>[Home.js]"]
  node_search_routes["Search routes<br/>[SearchRoutes.jsx]"]
  node_search_page["Search results<br/>[SearchPage.js]"]
  node_search_detail["Search content detail"]
end

subgraph group_content["Content and discussion"]
  node_content_routes["Content routes<br/>[ContentRoutes.jsx]"]
  node_content_detail["Content detail<br/>[DetailPage.js]"]
  node_comment_page["Content comments<br/>[CommentPage.js]"]
  node_comment_card["Comment interactions<br/>[CommentCard.js]"]
end

subgraph group_community["People and collections"]
  node_user_routes["User routes<br/>[UserRoutes.jsx]"]
  node_user_pages["User profiles and activity<br/>[UserDetailPage.js]"]
  node_collection_routes["Collection routes"]
  node_collection_detail["Collection detail and creation"]
  node_notifications["Notifications"]
end

subgraph group_integration["Client integration"]
  node_search_api["Search API client<br/>[SearchApi.js]"]
  node_content_api["Content API client<br/>[ContentApi.js]"]
  node_comment_api["Comment API client<br/>[CommentApi.js]"]
  node_user_api["User API client<br/>[UserApi.js]"]
  node_collection_api["Collection API client<br/>[CollectionApi.js]"]
end

node_visitor(("Visitor"))
node_backend_api{{"Application API service"}}

node_visitor -->|"opens"| node_app_routes
node_app_routes -->|"routes to"| node_home_routes
node_app_routes -->|"routes to"| node_content_routes
node_app_routes -->|"routes to"| node_search_routes
node_app_routes -->|"routes to"| node_user_routes
node_app_routes -->|"routes to"| node_collection_routes
node_app_routes -->|"routes to"| node_notifications
node_home_routes -->|"routes to"| node_home_page
node_home_page -->|"fetches discovery"| node_content_api
node_search_routes -->|"routes to"| node_search_page
node_search_routes -->|"routes to"| node_search_detail
node_search_page -->|"queries"| node_search_api
node_search_detail -->|"loads pages"| node_search_api
node_search_api -->|"sends HTTP requests"| node_backend_api
node_content_routes -->|"routes to"| node_content_detail
node_content_routes -->|"routes to"| node_comment_page
node_content_detail -->|"loads and updates content"| node_content_api
node_content_detail -->|"edits comments"| node_comment_api
node_content_detail -->|"renders comments"| node_comment_card
node_comment_page -->|"renders comments"| node_comment_card
node_comment_card -->|"manages replies and likes"| node_comment_api
node_user_routes -->|"routes profile"| node_user_pages
node_user_pages -->|"loads profile"| node_user_api
node_notifications -->|"loads notifications"| node_user_api
node_user_api -->|"sends HTTP requests"| node_backend_api
node_collection_routes -->|"routes to"| node_collection_detail
node_collection_detail -->|"loads collections"| node_collection_api
node_content_detail -->|"adds to collections"| node_collection_api
node_content_api -.-> node_backend_api
node_comment_api -.-> node_backend_api
node_collection_api -.-> node_backend_api

click node_app_routes "https://github.com/tatoon0/itview/blob/main/frontend/src/routes/AppRoutes.jsx"
click node_home_routes "https://github.com/tatoon0/itview/blob/main/frontend/src/routes/HomeRoutes.jsx"
click node_home_page "https://github.com/tatoon0/itview/blob/main/frontend/src/pages/Home/Home.js"
click node_search_routes "https://github.com/tatoon0/itview/blob/main/frontend/src/routes/SearchRoutes.jsx"
click node_search_page "https://github.com/tatoon0/itview/blob/main/frontend/src/pages/SearchPage/SearchPage.js"
click node_search_detail "https://github.com/tatoon0/itview/blob/main/frontend/src/pages/SearchContentDetailPage/SearchContentDetailPage.js"
click node_search_api "https://github.com/tatoon0/itview/blob/main/frontend/src/API/SearchApi.js"
click node_content_routes "https://github.com/tatoon0/itview/blob/main/frontend/src/routes/ContentRoutes.jsx"
click node_content_detail "https://github.com/tatoon0/itview/blob/main/frontend/src/pages/DetailPage/DetailPage.js"
click node_comment_page "https://github.com/tatoon0/itview/blob/main/frontend/src/pages/CommentPage/CommentPage.js"
click node_comment_card "https://github.com/tatoon0/itview/blob/main/frontend/src/components/CommentCard/CommentCard.js"
click node_content_api "https://github.com/tatoon0/itview/blob/main/frontend/src/API/ContentApi.js"
click node_comment_api "https://github.com/tatoon0/itview/blob/main/frontend/src/API/CommentApi.js"
click node_user_routes "https://github.com/tatoon0/itview/blob/main/frontend/src/routes/UserRoutes.jsx"
click node_user_pages "https://github.com/tatoon0/itview/blob/main/frontend/src/pages/UserDetailPage/UserDetailPage.js"
click node_user_api "https://github.com/tatoon0/itview/blob/main/frontend/src/API/UserApi.js"
click node_collection_routes "https://github.com/tatoon0/itview/blob/main/frontend/src/routes/CollectionRoutes.jsx"
click node_collection_detail "https://github.com/tatoon0/itview/blob/main/frontend/src/pages/CollectionDetailPage/CollectionDetailPage.js"
click node_collection_api "https://github.com/tatoon0/itview/blob/main/frontend/src/API/CollectionApi.js"
click node_notifications "https://github.com/tatoon0/itview/blob/main/frontend/src/pages/NotificationPage/NotificationPage.js"

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_app_routes,node_home_routes,node_home_page,node_search_routes,node_search_page,node_search_detail toneBlue
class node_content_routes,node_content_detail,node_comment_page,node_comment_card toneAmber
class node_user_routes,node_user_pages,node_collection_routes,node_collection_detail,node_notifications,node_backend_api toneMint
class node_search_api,node_content_api,node_comment_api,node_user_api,node_collection_api toneRose
class node_visitor toneIndigo
```

## Components

### Navigation and discovery

- [App route dispatch](https://github.com/tatoon0/itview/blob/main/frontend/src/routes/AppRoutes.jsx): `frontend/src/routes/AppRoutes.jsx`
- [Home browsing routes](https://github.com/tatoon0/itview/blob/main/frontend/src/routes/HomeRoutes.jsx): `frontend/src/routes/HomeRoutes.jsx`
- [Home discovery](https://github.com/tatoon0/itview/blob/main/frontend/src/pages/Home/Home.js): `frontend/src/pages/Home/Home.js`
- [Search routes](https://github.com/tatoon0/itview/blob/main/frontend/src/routes/SearchRoutes.jsx): `frontend/src/routes/SearchRoutes.jsx`
- [Search results](https://github.com/tatoon0/itview/blob/main/frontend/src/pages/SearchPage/SearchPage.js): `frontend/src/pages/SearchPage/SearchPage.js`
- [Search content detail](https://github.com/tatoon0/itview/blob/main/frontend/src/pages/SearchContentDetailPage/SearchContentDetailPage.js): `frontend/src/pages/SearchContentDetailPage/SearchContentDetailPage.js`

### Content and discussion

- [Content routes](https://github.com/tatoon0/itview/blob/main/frontend/src/routes/ContentRoutes.jsx): `frontend/src/routes/ContentRoutes.jsx`
- [Content detail](https://github.com/tatoon0/itview/blob/main/frontend/src/pages/DetailPage/DetailPage.js): `frontend/src/pages/DetailPage/DetailPage.js`
- [Content comments](https://github.com/tatoon0/itview/blob/main/frontend/src/pages/CommentPage/CommentPage.js): `frontend/src/pages/CommentPage/CommentPage.js`
- [Comment interactions](https://github.com/tatoon0/itview/blob/main/frontend/src/components/CommentCard/CommentCard.js): `frontend/src/components/CommentCard/CommentCard.js`

### People and collections

- [User routes](https://github.com/tatoon0/itview/blob/main/frontend/src/routes/UserRoutes.jsx): `frontend/src/routes/UserRoutes.jsx`
- [User profiles and activity](https://github.com/tatoon0/itview/blob/main/frontend/src/pages/UserDetailPage/UserDetailPage.js): `frontend/src/pages/UserDetailPage/UserDetailPage.js`
- [Collection routes](https://github.com/tatoon0/itview/blob/main/frontend/src/routes/CollectionRoutes.jsx): `frontend/src/routes/CollectionRoutes.jsx`
- [Collection detail and creation](https://github.com/tatoon0/itview/blob/main/frontend/src/pages/CollectionDetailPage/CollectionDetailPage.js): `frontend/src/pages/CollectionDetailPage/CollectionDetailPage.js`
- [Notifications](https://github.com/tatoon0/itview/blob/main/frontend/src/pages/NotificationPage/NotificationPage.js): `frontend/src/pages/NotificationPage/NotificationPage.js`

### Client integration

- [Search API client](https://github.com/tatoon0/itview/blob/main/frontend/src/API/SearchApi.js): `frontend/src/API/SearchApi.js`
- [Content API client](https://github.com/tatoon0/itview/blob/main/frontend/src/API/ContentApi.js): `frontend/src/API/ContentApi.js`
- [Comment API client](https://github.com/tatoon0/itview/blob/main/frontend/src/API/CommentApi.js): `frontend/src/API/CommentApi.js`
- [User API client](https://github.com/tatoon0/itview/blob/main/frontend/src/API/UserApi.js): `frontend/src/API/UserApi.js`
- [Collection API client](https://github.com/tatoon0/itview/blob/main/frontend/src/API/CollectionApi.js): `frontend/src/API/CollectionApi.js`

### Other components

- **Visitor**
- **Application API service**

## Connections

- Visitor → App route dispatch: opens (evidence: `frontend/src/routes/AppRoutes.jsx`)
- App route dispatch → Home browsing routes: routes to (evidence: `frontend/src/routes/AppRoutes.jsx`)
- App route dispatch → Content routes: routes to (evidence: `frontend/src/routes/AppRoutes.jsx`)
- App route dispatch → Search routes: routes to (evidence: `frontend/src/routes/AppRoutes.jsx`)
- App route dispatch → User routes: routes to (evidence: `frontend/src/routes/AppRoutes.jsx`)
- App route dispatch → Collection routes: routes to (evidence: `frontend/src/routes/AppRoutes.jsx`)
- App route dispatch → Notifications: routes to (evidence: `frontend/src/routes/AppRoutes.jsx`)
- Home browsing routes → Home discovery: routes to (evidence: `frontend/src/routes/HomeRoutes.jsx`)
- Home discovery → Content API client: fetches discovery (evidence: `frontend/src/pages/Home/Home.js`)
- Search routes → Search results: routes to (evidence: `frontend/src/routes/SearchRoutes.jsx`)
- Search routes → Search content detail: routes to (evidence: `frontend/src/routes/SearchRoutes.jsx`)
- Search results → Search API client: queries (evidence: `frontend/src/pages/SearchPage/SearchPage.js`)
- Search content detail → Search API client: loads pages (evidence: `frontend/src/pages/SearchContentDetailPage/SearchContentDetailPage.js`)
- Search API client → Application API service: sends HTTP requests (evidence: `frontend/src/API/SearchApi.js`)
- Content routes → Content detail: routes to (evidence: `frontend/src/routes/ContentRoutes.jsx`)
- Content routes → Content comments: routes to (evidence: `frontend/src/routes/ContentRoutes.jsx`)
- Content detail → Content API client: loads and updates content (evidence: `frontend/src/pages/DetailPage/DetailPage.js`)
- Content detail → Comment API client: edits comments (evidence: `frontend/src/pages/DetailPage/DetailPage.js`)
- Content detail → Comment interactions: renders comments (evidence: `frontend/src/pages/DetailPage/DetailPage.js`)
- Content comments → Comment interactions: renders comments (evidence: `frontend/src/pages/CommentPage/CommentPage.js`)
- Comment interactions → Comment API client: manages replies and likes (evidence: `frontend/src/components/CommentCard/CommentCard.js`)
- User routes → User profiles and activity: routes profile (evidence: `frontend/src/routes/UserRoutes.jsx`)
- User profiles and activity → User API client: loads profile (evidence: `frontend/src/pages/UserDetailPage/UserDetailPage.js`)
- Notifications → User API client: loads notifications (evidence: `frontend/src/pages/NotificationPage/NotificationPage.js`)
- User API client → Application API service: sends HTTP requests (evidence: `frontend/src/API/UserApi.js`)
- Collection routes → Collection detail and creation: routes to (evidence: `frontend/src/routes/CollectionRoutes.jsx`)
- Collection detail and creation → Collection API client: loads collections (evidence: `frontend/src/pages/CollectionDetailPage/CollectionDetailPage.js`)
- Content detail → Collection API client: adds to collections (evidence: `frontend/src/pages/DetailPage/DetailPage.js`)
- Content API client → Application API service
- Comment API client → Application API service
- Collection API client → Application API service
