# greg-07-svg/proyecto2026-carosanti-miranda architecture

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

- Interactive diagram: https://gitdiagram.com/greg-07-svg/proyecto2026-carosanti-miranda
- Repository: https://github.com/greg-07-svg/proyecto2026-carosanti-miranda

## Overview

FINDG is a static Spanish-language game-discovery website. Its principal workflow is browsing a small mock game catalog, filtering games, and opening a game's detail view; users can also save favorites. The sampled runtime places the catalog and these behaviors in one JavaScript file, with HTML pages and styling in the front-end directory. The README documents the product goal, while the source excerpt shows catalog rendering, detail selection, and favorite persistence. Other page wiring was not sampled, so the graph omits unverified links.

Main entry points: [`primera-entrega/src/front/principal.js`](https://github.com/greg-07-svg/proyecto2026-carosanti-miranda/blob/main/primera-entrega/src/front/principal.js) (Mock catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Game discovery"]
  node_catalog[("Mock catalog<br/>[principal.js]")]
  node_exploration["Explore and filter<br/>[principal.js]"]
end

subgraph group_details["Game details"]
  node_detail["Game details<br/>[principal.js]"]
end

subgraph group_favorites["Favorites"]
  node_favorites["Favorite management<br/>[principal.js]"]
end

node_player(("Player"))
node_browser["Browser storage and DOM"]

node_player -->|"searches games"| node_exploration
node_catalog -->|"supplies games"| node_exploration
node_catalog -->|"supplies details"| node_detail
node_catalog -->|"supplies game data"| node_favorites
node_exploration -->|"renders results"| node_browser
node_detail -->|"renders details"| node_browser
node_favorites -->|"reads and writes"| node_browser

click node_catalog "https://github.com/greg-07-svg/proyecto2026-carosanti-miranda/blob/main/primera-entrega/src/front/principal.js"
click node_exploration "https://github.com/greg-07-svg/proyecto2026-carosanti-miranda/blob/main/primera-entrega/src/front/principal.js"
click node_detail "https://github.com/greg-07-svg/proyecto2026-carosanti-miranda/blob/main/primera-entrega/src/front/principal.js"
click node_favorites "https://github.com/greg-07-svg/proyecto2026-carosanti-miranda/blob/main/primera-entrega/src/front/principal.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_catalog,node_exploration toneBlue
class node_detail,node_browser toneAmber
class node_favorites toneMint
class node_player toneIndigo
```

## Components

### Game discovery

- [Mock catalog](https://github.com/greg-07-svg/proyecto2026-carosanti-miranda/blob/main/primera-entrega/src/front/principal.js): `primera-entrega/src/front/principal.js`
- [Explore and filter](https://github.com/greg-07-svg/proyecto2026-carosanti-miranda/blob/main/primera-entrega/src/front/principal.js): `primera-entrega/src/front/principal.js`

### Game details

- [Game details](https://github.com/greg-07-svg/proyecto2026-carosanti-miranda/blob/main/primera-entrega/src/front/principal.js): `primera-entrega/src/front/principal.js`

### Favorites

- [Favorite management](https://github.com/greg-07-svg/proyecto2026-carosanti-miranda/blob/main/primera-entrega/src/front/principal.js): `primera-entrega/src/front/principal.js`

### Other components

- **Player**
- **Browser storage and DOM**

## Connections

- Player → Explore and filter: searches games (evidence: `README.md`)
- Mock catalog → Explore and filter: supplies games (evidence: `primera-entrega/src/front/principal.js`)
- Mock catalog → Game details: supplies details (evidence: `primera-entrega/src/front/principal.js`)
- Mock catalog → Favorite management: supplies game data (evidence: `primera-entrega/src/front/principal.js`)
- Explore and filter → Browser storage and DOM: renders results (evidence: `primera-entrega/src/front/principal.js`)
- Game details → Browser storage and DOM: renders details (evidence: `primera-entrega/src/front/principal.js`)
- Favorite management → Browser storage and DOM: reads and writes (evidence: `primera-entrega/src/front/principal.js`)
