# brahiamacosta/proyecto-final---cloud-computing architecture

> Architecture diagram of the GitHub repository brahiamacosta/proyecto-final---cloud-computing, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/brahiamacosta/proyecto-final---cloud-computing
- Repository: https://github.com/brahiamacosta/proyecto-final---cloud-computing

## Overview

This is a Spanish-language personal reading-library app: users browse and filter books, open a book, manage its details and favorite status, and add, edit, or delete reading notes. The frontend routes those workflows to an HTTP API client; the backend handler is present, but its implementation and any persistence layer were not shown. Edges reflect excerpted imports and calls; the client-to-handler connection is dashed because the API wiring to this handler was not verified.

Main entry points: [`frontend/src/pages/LibroDetallePage.jsx`](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/LibroDetallePage.jsx) (Book detail), [`frontend/src/App.jsx`](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/App.jsx) (Route app), [`frontend/src/pages/BibliotecaPage.jsx`](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/BibliotecaPage.jsx) (Library page), [`frontend/src/pages/LibroFormPage.jsx`](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/LibroFormPage.jsx) (Book form page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Web application"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["Route app<br/>[App.jsx]"]
  node_header["Header<br/>[Header.jsx]"]
  node_notfound["Not found page"]
  node_message["Status message<br/>[Mensaje.jsx]"]
  node_service["Books API client<br/>[librosService.js]"]
end

subgraph group_catalog["Library browsing"]
  node_library["Library page<br/>[BibliotecaPage.jsx]"]
  node_search["Search controls<br/>[BarraBusqueda.jsx]"]
  node_shelf["Book shelf<br/>[Estante.jsx]"]
  node_spine["Book spine<br/>[Lomo.jsx]"]
  node_bookutils["Book utilities<br/>[libro.js]"]
end

subgraph group_book["Book management"]
  node_detail["Book detail"]
  node_cover["Book cover<br/>[Portada.jsx]"]
  node_rating["Rating display<br/>[Calificacion.jsx]"]
  node_favorite["Favorite control<br/>[BotonFavorito.jsx]"]
  node_formpage["Book form page<br/>[LibroFormPage.jsx]"]
  node_bookform["Book form<br/>[LibroForm.jsx]"]
  node_ratinginput["Rating input"]
end

subgraph group_notes["Reading notes"]
  node_noteslist["Notes list<br/>[NotasLista.jsx]"]
  node_note["Note item<br/>[Nota.jsx]"]
  node_noteform["Note form<br/>[NotaForm.jsx]"]
end

subgraph group_backend["API backend"]
  node_handler["API handler<br/>[handler.js]"]
end

node_reader(("Reader"))

node_reader -->|"uses"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_header
node_app -->|"routes to"| node_library
node_app -->|"routes to"| node_detail
node_app -->|"routes to"| node_formpage
node_app -->|"routes to"| node_notfound
node_library -->|"lists books"| node_service
node_library -->|"renders"| node_search
node_library -->|"renders"| node_shelf
node_library -->|"counts results"| node_bookutils
node_shelf -->|"renders"| node_spine
node_spine -->|"sizes spine"| node_bookutils
node_detail -->|"loads and updates"| node_service
node_detail -->|"formats dates"| node_bookutils
node_detail -->|"renders"| node_cover
node_detail -->|"renders"| node_rating
node_detail -->|"renders"| node_favorite
node_detail -->|"renders"| node_noteslist
node_detail -->|"renders"| node_noteform
node_detail -->|"shows errors"| node_message
node_formpage -->|"loads and saves"| node_service
node_formpage -->|"renders"| node_bookform
node_formpage -->|"shows errors"| node_message
node_bookform -->|"renders"| node_ratinginput
node_noteslist -->|"renders"| node_note
node_note -->|"formats dates"| node_bookutils
node_service -.->|"HTTP API calls"| node_handler

click node_entry "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/main.jsx"
click node_app "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/App.jsx"
click node_header "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Header.jsx"
click node_notfound "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/NoEncontradaPage.jsx"
click node_library "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/BibliotecaPage.jsx"
click node_search "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/BarraBusqueda.jsx"
click node_shelf "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Estante.jsx"
click node_spine "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Lomo.jsx"
click node_bookutils "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/utils/libro.js"
click node_detail "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/LibroDetallePage.jsx"
click node_cover "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Portada.jsx"
click node_rating "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Calificacion.jsx"
click node_favorite "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/BotonFavorito.jsx"
click node_formpage "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/LibroFormPage.jsx"
click node_bookform "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/LibroForm.jsx"
click node_ratinginput "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/CalificacionInput.jsx"
click node_noteslist "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/NotasLista.jsx"
click node_note "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Nota.jsx"
click node_noteform "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/NotaForm.jsx"
click node_message "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Mensaje.jsx"
click node_service "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/services/librosService.js"
click node_handler "https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/backend/handler.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_entry,node_app,node_header,node_notfound,node_message,node_service toneBlue
class node_library,node_search,node_shelf,node_spine,node_bookutils toneAmber
class node_detail,node_cover,node_rating,node_favorite,node_formpage,node_bookform,node_ratinginput toneMint
class node_noteslist,node_note,node_noteform toneRose
class node_handler,node_reader toneIndigo
```

## Components

### Web application

- [React entry](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/main.jsx): `frontend/src/main.jsx`
- [Route app](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Header](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Header.jsx): `frontend/src/components/Header.jsx`
- [Not found page](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/NoEncontradaPage.jsx): `frontend/src/pages/NoEncontradaPage.jsx`
- [Status message](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Mensaje.jsx): `frontend/src/components/Mensaje.jsx`
- [Books API client](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/services/librosService.js): `frontend/src/services/librosService.js`

### Library browsing

- [Library page](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/BibliotecaPage.jsx): `frontend/src/pages/BibliotecaPage.jsx`
- [Search controls](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/BarraBusqueda.jsx): `frontend/src/components/BarraBusqueda.jsx`
- [Book shelf](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Estante.jsx): `frontend/src/components/Estante.jsx`
- [Book spine](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Lomo.jsx): `frontend/src/components/Lomo.jsx`
- [Book utilities](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/utils/libro.js): `frontend/src/utils/libro.js`

### Book management

- [Book detail](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/LibroDetallePage.jsx): `frontend/src/pages/LibroDetallePage.jsx`
- [Book cover](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Portada.jsx): `frontend/src/components/Portada.jsx`
- [Rating display](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Calificacion.jsx): `frontend/src/components/Calificacion.jsx`
- [Favorite control](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/BotonFavorito.jsx): `frontend/src/components/BotonFavorito.jsx`
- [Book form page](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/pages/LibroFormPage.jsx): `frontend/src/pages/LibroFormPage.jsx`
- [Book form](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/LibroForm.jsx): `frontend/src/components/LibroForm.jsx`
- [Rating input](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/CalificacionInput.jsx): `frontend/src/components/CalificacionInput.jsx`

### Reading notes

- [Notes list](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/NotasLista.jsx): `frontend/src/components/NotasLista.jsx`
- [Note item](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/Nota.jsx): `frontend/src/components/Nota.jsx`
- [Note form](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/frontend/src/components/NotaForm.jsx): `frontend/src/components/NotaForm.jsx`

### API backend

- [API handler](https://github.com/brahiamacosta/proyecto-final---cloud-computing/blob/main/backend/handler.js): `backend/handler.js`

### Other components

- **Reader**

## Connections

- Reader → React entry: uses
- React entry → Route app: renders (evidence: `frontend/src/main.jsx`)
- Route app → Header: renders (evidence: `frontend/src/App.jsx`)
- Route app → Library page: routes to (evidence: `frontend/src/App.jsx`)
- Route app → Book detail: routes to (evidence: `frontend/src/App.jsx`)
- Route app → Book form page: routes to (evidence: `frontend/src/App.jsx`)
- Route app → Not found page: routes to (evidence: `frontend/src/App.jsx`)
- Library page → Books API client: lists books (evidence: `frontend/src/pages/BibliotecaPage.jsx`)
- Library page → Search controls: renders (evidence: `frontend/src/pages/BibliotecaPage.jsx`)
- Library page → Book shelf: renders (evidence: `frontend/src/pages/BibliotecaPage.jsx`)
- Library page → Book utilities: counts results (evidence: `frontend/src/pages/BibliotecaPage.jsx`)
- Book shelf → Book spine: renders (evidence: `frontend/src/components/Estante.jsx`)
- Book spine → Book utilities: sizes spine (evidence: `frontend/src/components/Lomo.jsx`)
- Book detail → Books API client: loads and updates (evidence: `frontend/src/pages/LibroDetallePage.jsx`)
- Book detail → Book utilities: formats dates (evidence: `frontend/src/pages/LibroDetallePage.jsx`)
- Book detail → Book cover: renders (evidence: `frontend/src/pages/LibroDetallePage.jsx`)
- Book detail → Rating display: renders (evidence: `frontend/src/pages/LibroDetallePage.jsx`)
- Book detail → Favorite control: renders (evidence: `frontend/src/pages/LibroDetallePage.jsx`)
- Book detail → Notes list: renders (evidence: `frontend/src/pages/LibroDetallePage.jsx`)
- Book detail → Note form: renders (evidence: `frontend/src/pages/LibroDetallePage.jsx`)
- Book detail → Status message: shows errors (evidence: `frontend/src/pages/LibroDetallePage.jsx`)
- Book form page → Books API client: loads and saves (evidence: `frontend/src/pages/LibroFormPage.jsx`)
- Book form page → Book form: renders (evidence: `frontend/src/pages/LibroFormPage.jsx`)
- Book form page → Status message: shows errors (evidence: `frontend/src/pages/LibroFormPage.jsx`)
- Book form → Rating input: renders (evidence: `frontend/src/components/LibroForm.jsx`)
- Notes list → Note item: renders (evidence: `frontend/src/components/NotasLista.jsx`)
- Note item → Book utilities: formats dates (evidence: `frontend/src/components/Nota.jsx`)
- Books API client → API handler: HTTP API calls
