# agustin-perezr/grupo10-node-js architecture

> Architecture diagram of the GitHub repository agustin-perezr/grupo10-node-js, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/agustin-perezr/grupo10-node-js
- Repository: https://github.com/agustin-perezr/grupo10-node-js

## Overview

This is a Spanish-language online bookstore storefront, documented as a live site. Its visible product surface includes a home page, cart, contact page, login, and registration; the sampled JavaScript implements home-page carousel, search-toggle, and book-card behavior, plus form validation and fixed-credential login redirection. The available excerpts do not show HTML script/style bindings or cart processing, so those connections are omitted rather than inferred.

Main entry points: [`home.html`](https://github.com/agustin-perezr/grupo10-node-js/blob/main/home.html) (Book storefront)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_storefront["Storefront pages"]
  node_home["Book storefront<br/>[home.html]"]
  node_cart["Shopping cart<br/>[carrito.html]"]
end

subgraph group_account["Account and contact"]
  node_contact["Contact page<br/>[contacto.html]"]
  node_login["Login page<br/>[login.html]"]
  node_registration["Registration page<br/>[registro.html]"]
end

subgraph group_behavior["Browser behavior"]
  node_home_behavior["Carousel, search, cards<br/>[script.js]"]
  node_form_validation["Form and login checks<br/>[validacion.js]"]
end

subgraph group_presentation["Page styling"]
  node_home_style["Home styles<br/>[home.css]"]
  node_cart_style["Cart styles<br/>[carrito.css]"]
  node_contact_style["Contact styles<br/>[contacto.css]"]
  node_login_style["Login styles<br/>[login.css]"]
  node_registration_style["Registration styles<br/>[registro.css]"]
  node_shared_style["Shared stylesheet<br/>[stylesheet.css]"]
end

node_visitor(("Visitor"))

node_visitor -->|"visits"| node_home

click node_home "https://github.com/agustin-perezr/grupo10-node-js/blob/main/home.html"
click node_cart "https://github.com/agustin-perezr/grupo10-node-js/blob/main/carrito.html"
click node_contact "https://github.com/agustin-perezr/grupo10-node-js/blob/main/contacto.html"
click node_login "https://github.com/agustin-perezr/grupo10-node-js/blob/main/login.html"
click node_registration "https://github.com/agustin-perezr/grupo10-node-js/blob/main/registro.html"
click node_home_behavior "https://github.com/agustin-perezr/grupo10-node-js/blob/main/script.js"
click node_form_validation "https://github.com/agustin-perezr/grupo10-node-js/blob/main/validacion.js"
click node_home_style "https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/home.css"
click node_cart_style "https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/carrito.css"
click node_contact_style "https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/contacto.css"
click node_login_style "https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/login.css"
click node_registration_style "https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/registro.css"
click node_shared_style "https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/stylesheet.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_home,node_cart toneBlue
class node_contact,node_login,node_registration toneAmber
class node_home_behavior,node_form_validation toneMint
class node_home_style,node_cart_style,node_contact_style,node_login_style,node_registration_style,node_shared_style toneRose
class node_visitor toneIndigo
```

## Components

### Storefront pages

- [Book storefront](https://github.com/agustin-perezr/grupo10-node-js/blob/main/home.html): `home.html`
- [Shopping cart](https://github.com/agustin-perezr/grupo10-node-js/blob/main/carrito.html): `carrito.html`

### Account and contact

- [Contact page](https://github.com/agustin-perezr/grupo10-node-js/blob/main/contacto.html): `contacto.html`
- [Login page](https://github.com/agustin-perezr/grupo10-node-js/blob/main/login.html): `login.html`
- [Registration page](https://github.com/agustin-perezr/grupo10-node-js/blob/main/registro.html): `registro.html`

### Browser behavior

- [Carousel, search, cards](https://github.com/agustin-perezr/grupo10-node-js/blob/main/script.js): `script.js`
- [Form and login checks](https://github.com/agustin-perezr/grupo10-node-js/blob/main/validacion.js): `validacion.js`

### Page styling

- [Home styles](https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/home.css): `estilos/home.css`
- [Cart styles](https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/carrito.css): `estilos/carrito.css`
- [Contact styles](https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/contacto.css): `estilos/contacto.css`
- [Login styles](https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/login.css): `estilos/login.css`
- [Registration styles](https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/registro.css): `estilos/registro.css`
- [Shared stylesheet](https://github.com/agustin-perezr/grupo10-node-js/blob/main/estilos/stylesheet.css): `estilos/stylesheet.css`

### Other components

- **Visitor**

## Connections

- Visitor → Book storefront: visits (evidence: `README.md`)
