# jhosepvt/app-con-floci architecture

> Architecture diagram of the GitHub repository jhosepvt/app-con-floci, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jhosepvt/app-con-floci
- Repository: https://github.com/jhosepvt/app-con-floci

## Overview

Es una aplicación web sencilla para gestionar tareas: el usuario consulta, crea y elimina tareas desde la interfaz; el navegador envía solicitudes a una API que opera sobre DynamoDB. La configuración de despliegue documenta la publicación de los archivos estáticos en S3 y la configuración de la URL de API. La implementación de rutas y el HTML no están entre los extractos, así que esos enlaces se indican como no verificados cuando corresponde.

Main entry points: [`public/app.js`](https://github.com/jhosepvt/app-con-floci/blob/main/public/app.js) (Cliente de tareas), [`public/index.html`](https://github.com/jhosepvt/app-con-floci/blob/main/public/index.html) (Página de tareas), [`handler.js`](https://github.com/jhosepvt/app-con-floci/blob/main/handler.js) (Operaciones tareas), [`public/config.json`](https://github.com/jhosepvt/app-con-floci/blob/main/public/config.json) (Configuración API)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Interfaz web"]
  node_page["Página de tareas<br/>[index.html]"]
  node_browser["Cliente de tareas<br/>[app.js]"]
  node_config["Configuración API<br/>[config.json]"]
end

subgraph group_api["API de tareas"]
  node_gateway{{"API Gateway"}}
  node_handlers["Operaciones tareas<br/>[handler.js]"]
end

subgraph group_data["Persistencia"]
  node_dynamo[("DynamoDB")]
end

node_user(("Usuario"))
node_hosting[("Alojamiento S3")]

node_user -->|"abre sitio"| node_hosting
node_hosting -->|"sirve archivos"| node_page
node_page -.->|"carga cliente"| node_browser
node_browser -->|"lee configuración"| node_config
node_browser -->|"consulta y modifica"| node_gateway
node_gateway -.->|"invoca rutas"| node_handlers
node_handlers -->|"lee y escribe"| node_dynamo

click node_page "https://github.com/jhosepvt/app-con-floci/blob/main/public/index.html"
click node_browser "https://github.com/jhosepvt/app-con-floci/blob/main/public/app.js"
click node_config "https://github.com/jhosepvt/app-con-floci/blob/main/public/config.json"
click node_handlers "https://github.com/jhosepvt/app-con-floci/blob/main/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_page,node_browser,node_config toneBlue
class node_gateway,node_handlers,node_hosting toneAmber
class node_dynamo toneMint
class node_user toneIndigo
```

## Components

### Interfaz web

- [Página de tareas](https://github.com/jhosepvt/app-con-floci/blob/main/public/index.html): `public/index.html`
- [Cliente de tareas](https://github.com/jhosepvt/app-con-floci/blob/main/public/app.js): `public/app.js`
- [Configuración API](https://github.com/jhosepvt/app-con-floci/blob/main/public/config.json): `public/config.json`

### API de tareas

- **API Gateway**
- [Operaciones tareas](https://github.com/jhosepvt/app-con-floci/blob/main/handler.js): `handler.js`

### Persistencia

- **DynamoDB**

### Other components

- **Usuario**
- **Alojamiento S3**

## Connections

- Usuario → Alojamiento S3: abre sitio (evidence: `README.md`)
- Alojamiento S3 → Página de tareas: sirve archivos (evidence: `README.md`)
- Página de tareas → Cliente de tareas: carga cliente
- Cliente de tareas → Configuración API: lee configuración (evidence: `public/app.js`)
- Cliente de tareas → API Gateway: consulta y modifica (evidence: `public/app.js`)
- API Gateway → Operaciones tareas: invoca rutas
- Operaciones tareas → DynamoDB: lee y escribe (evidence: `handler.js`)
