# anantguptaking7890-lang/khushi-world architecture

> Architecture diagram of the GitHub repository anantguptaking7890-lang/khushi-world, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/anantguptaking7890-lang/khushi-world
- Repository: https://github.com/anantguptaking7890-lang/khushi-world

## Overview

Khushi-world is a small Flask friendship website. A visitor requests a page; Flask routes the request to a rendered home, hero, or country page. The repository also includes browser-side interaction code and styling, but the sampled files do not show how the HTML pages load those assets, so that connection is omitted.

Main entry points: [`app.py`](https://github.com/anantguptaking7890-lang/khushi-world/blob/main/app.py) (Page routes), [`index.html`](https://github.com/anantguptaking7890-lang/khushi-world/blob/main/index.html) (Home page), [`hero.html`](https://github.com/anantguptaking7890-lang/khushi-world/blob/main/hero.html) (Hero page), [`countries.html`](https://github.com/anantguptaking7890-lang/khushi-world/blob/main/countries.html) (Countries page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_server["Flask server"]
  node_flask["Page routes<br/>[app.py]"]
end

subgraph group_pages["Website pages"]
  node_home["Home page<br/>[index.html]"]
  node_hero["Hero page<br/>[hero.html]"]
  node_countries["Countries page<br/>[countries.html]"]
end

subgraph group_client["Browser experience"]
  node_interactions["Browser interactions<br/>[script.js]"]
  node_styles["Page styling<br/>[style.css]"]
end

node_visitor(("Visitor"))

node_visitor -->|"requests pages"| node_flask
node_flask -->|"renders"| node_home
node_flask -->|"renders"| node_hero
node_flask -->|"renders"| node_countries

click node_flask "https://github.com/anantguptaking7890-lang/khushi-world/blob/main/app.py"
click node_home "https://github.com/anantguptaking7890-lang/khushi-world/blob/main/index.html"
click node_hero "https://github.com/anantguptaking7890-lang/khushi-world/blob/main/hero.html"
click node_countries "https://github.com/anantguptaking7890-lang/khushi-world/blob/main/countries.html"
click node_interactions "https://github.com/anantguptaking7890-lang/khushi-world/blob/main/script.js"
click node_styles "https://github.com/anantguptaking7890-lang/khushi-world/blob/main/style.css"

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_flask toneBlue
class node_home,node_hero,node_countries toneAmber
class node_interactions,node_styles toneMint
class node_visitor toneIndigo
```

## Components

### Flask server

- [Page routes](https://github.com/anantguptaking7890-lang/khushi-world/blob/main/app.py): `app.py`

### Website pages

- [Home page](https://github.com/anantguptaking7890-lang/khushi-world/blob/main/index.html): `index.html`
- [Hero page](https://github.com/anantguptaking7890-lang/khushi-world/blob/main/hero.html): `hero.html`
- [Countries page](https://github.com/anantguptaking7890-lang/khushi-world/blob/main/countries.html): `countries.html`

### Browser experience

- [Browser interactions](https://github.com/anantguptaking7890-lang/khushi-world/blob/main/script.js): `script.js`
- [Page styling](https://github.com/anantguptaking7890-lang/khushi-world/blob/main/style.css): `style.css`

### Other components

- **Visitor**

## Connections

- Visitor → Page routes: requests pages (evidence: `app.py`)
- Page routes → Home page: renders (evidence: `app.py`)
- Page routes → Hero page: renders (evidence: `app.py`)
- Page routes → Countries page: renders (evidence: `app.py`)
