# joe-ship-it-nice/joegraphy-sigma-mission-5 architecture

> Architecture diagram of the GitHub repository joe-ship-it-nice/joegraphy-sigma-mission-5, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/joe-ship-it-nice/joegraphy-sigma-mission-5
- Repository: https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5

## Overview

JOEGRAPHY is a React travel-country showcase. A visitor views Joe’s country collection, filters it by region, and can add a country with a region and rating; the page displays the resulting cards and count. The sampled implementation keeps the catalog, filter state, add form, and rendering together in App.jsx, with Game as its reusable card component. The source shows the React mount and component relationships; CSS file contents were not sampled, so styling links reflect imports only.

Main entry points: [`src/App.jsx`](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx) (App state and page), [`src/main.jsx`](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/main.jsx) (React mount), [`src/App.css`](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.css) (App styling), [`src/index.css`](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/index.css) (Global styling)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["React runtime"]
  node_mount["React mount<br/>[main.jsx]"]
  node_app["App state and page<br/>[App.jsx]"]
end

subgraph group_collection["Travel collection"]
  node_catalog["Country catalog<br/>[App.jsx]"]
  node_filters["Region filters<br/>[App.jsx]"]
  node_add["Add country form<br/>[App.jsx]"]
end

subgraph group_presentation["Page presentation"]
  node_cards["Country cards<br/>[App.jsx]"]
  node_appstyles["App styling<br/>[App.css]"]
  node_globalstyles["Global styling<br/>[index.css]"]
end

node_visitor(("Visitor"))
node_instagram["Instagram"]
node_youtube["YouTube"]

node_visitor -->|"opens site"| node_mount
node_mount -->|"renders"| node_app
node_app -->|"holds state"| node_catalog
node_app -->|"filters by region"| node_filters
node_app -->|"handles submission"| node_add
node_app -->|"renders"| node_cards
node_app -->|"imports styles"| node_appstyles
node_mount -->|"imports styles"| node_globalstyles
node_app -->|"links to"| node_instagram
node_app -->|"links to"| node_youtube

click node_mount "https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/main.jsx"
click node_app "https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx"
click node_catalog "https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx"
click node_filters "https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx"
click node_add "https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx"
click node_cards "https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx"
click node_appstyles "https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.css"
click node_globalstyles "https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/index.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_mount,node_app toneBlue
class node_catalog,node_filters,node_add toneAmber
class node_cards,node_appstyles,node_globalstyles toneMint
class node_visitor,node_instagram,node_youtube toneIndigo
```

## Components

### React runtime

- [React mount](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/main.jsx): `src/main.jsx`
- [App state and page](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx): `src/App.jsx`

### Travel collection

- [Country catalog](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx): `src/App.jsx`
- [Region filters](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx): `src/App.jsx`
- [Add country form](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx): `src/App.jsx`

### Page presentation

- [Country cards](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.jsx): `src/App.jsx`
- [App styling](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/App.css): `src/App.css`
- [Global styling](https://github.com/joe-ship-it-nice/joegraphy-sigma-mission-5/blob/main/src/index.css): `src/index.css`

### Other components

- **Visitor**
- **Instagram**
- **YouTube**

## Connections

- Visitor → React mount: opens site (evidence: `src/main.jsx`)
- React mount → App state and page: renders (evidence: `src/main.jsx`)
- App state and page → Country catalog: holds state (evidence: `src/App.jsx`)
- App state and page → Region filters: filters by region (evidence: `src/App.jsx`)
- App state and page → Add country form: handles submission (evidence: `src/App.jsx`)
- App state and page → Country cards: renders (evidence: `src/App.jsx`)
- App state and page → App styling: imports styles (evidence: `src/App.jsx`)
- React mount → Global styling: imports styles (evidence: `src/main.jsx`)
- App state and page → Instagram: links to (evidence: `src/App.jsx`)
- App state and page → YouTube: links to (evidence: `src/App.jsx`)
