# luiz-lombardi/hiring-coders-desafio-1 architecture

> Architecture diagram of the GitHub repository luiz-lombardi/hiring-coders-desafio-1, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/luiz-lombardi/hiring-coders-desafio-1
- Repository: https://github.com/luiz-lombardi/hiring-coders-desafio-1

## Overview

##### Project type and purpose
- This is a simple static‐site “challenge” project (no backend code, just HTML, CSS, JS, and images).
- Its purpose is to deliver a single-page front-end application (“Desafio 1 – Hiring Coders 2”).

##### File structure
- Top level:
- README.md – project description
- index.html – main entry point
- estilo.css, css/estilo.css – styling sheets
- js/script.js – client-side behavior
- img/ – static images
- No server code, databases, build pipelines or third-party services in the tree.

##### README for additional insights
- README only restates the challenge name—no further architectural detail.
- Confirms this is purely a front-end exercise.

##### Key points to capture
- Clear separation between client and hosting.
- The request→response flow for each static asset.
- Logical grouping of related files.
- No extraneous components—reflect the simplicity of the project.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Browser["Browser"]:::browser
    Server["Static File Server/CDN"]:::hosting

    %% Repository Files
    subgraph "Project Files"
        README["Project Description (README.md)"]:::assets
    end

    %% Static Assets
    subgraph "Static Assets"
        HTML["HTML Entry Point (index.html)"]:::assets
        GlobalCSS["Global Stylesheet (estilo.css)"]:::assets
        CSSDir["Organized Stylesheet (css/estilo.css)"]:::assets
        JS["Client-Side Script (js/script.js)"]:::assets
        IMG["Static Images (img/)"]:::assets
    end

    %% Request-Response Flow
    Browser -->|"HTTP GET /index.html"| Server
    Server -->|"200 OK index.html"| Browser

    Browser -->|"parses HTML and requests assets"| Server
    Server -->|"serves index.html"| HTML
    Browser -->|"GET estilo.css"| GlobalCSS
    Browser -->|"GET css/estilo.css"| CSSDir
    Browser -->|"GET js/script.js"| JS
    Browser -->|"GET img/*"| IMG

    %% Hosting relationships
    Server -->|"hosts"| README
    Server -->|"hosts"| HTML
    Server -->|"hosts"| GlobalCSS
    Server -->|"hosts"| CSSDir
    Server -->|"hosts"| JS
    Server -->|"hosts"| IMG

    %% Click Events
    click README "https://github.com/luiz-lombardi/hiring-coders-desafio-1/blob/main/README.md"
    click HTML "https://github.com/luiz-lombardi/hiring-coders-desafio-1/blob/main/index.html"
    click GlobalCSS "https://github.com/luiz-lombardi/hiring-coders-desafio-1/blob/main/estilo.css"
    click CSSDir "https://github.com/luiz-lombardi/hiring-coders-desafio-1/blob/main/css/estilo.css"
    click JS "https://github.com/luiz-lombardi/hiring-coders-desafio-1/blob/main/js/script.js"
    click IMG "https://github.com/luiz-lombardi/hiring-coders-desafio-1/tree/main/img/"

    %% Styles
    classDef browser fill:#a3c4f3,stroke:#333,stroke-width:1px
    classDef hosting fill:#b6f2a3,stroke:#333,stroke-width:1px
    classDef assets fill:#f2c483,stroke:#333,stroke-width:1px
```
