# carlosalbertomarquez/loki-lu architecture

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

- Interactive diagram: https://gitdiagram.com/carlosalbertomarquez/loki-lu
- Repository: https://github.com/carlosalbertomarquez/loki-lu

## Overview

Loki-lu is a browser-based pet-grooming salon manager. Salon staff enter through the landing page, then manage appointments and related pet, service, and product records; reports summarize salon activity, while settings control appearance and data. The README documents the page-level capabilities and localStorage persistence. The sampled shared JavaScript confirms storage keys and common utilities, but page scripts were not sampled, so page-to-storage calls are shown as unverified rather than asserted.

Main entry points: [`index.html`](https://github.com/carlosalbertomarquez/loki-lu/blob/master/index.html) (Landing page), [`agenda.html`](https://github.com/carlosalbertomarquez/loki-lu/blob/master/agenda.html) (Appointment agenda), [`pets.html`](https://github.com/carlosalbertomarquez/loki-lu/blob/master/pets.html) (Pet and client registry), [`services.html`](https://github.com/carlosalbertomarquez/loki-lu/blob/master/services.html) (Services and products)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and guidance"]
  node_home["Landing page<br/>[index.html]"]
  node_help["Usage guide<br/>[help.html]"]
end

subgraph group_operations["Salon operations"]
  node_agenda["Appointment agenda<br/>[agenda.html]"]
  node_calendar["Calendar and day list<br/>[agenda.html]"]
  node_appointment_editor["Appointment editor<br/>[agenda.html]"]
  node_pets["Pet and client registry<br/>[pets.html]"]
  node_services["Services and products<br/>[services.html]"]
end

subgraph group_insights["Reports and settings"]
  node_reports["Salon reports<br/>[reports.html]"]
  node_settings["Appearance and data settings<br/>[settings.html]"]
end

subgraph group_shared["Shared runtime and data"]
  node_shared["Shared browser utilities<br/>[app.js]"]
  node_storage[("Browser localStorage")]
  node_styles["Shared responsive styles<br/>[style.css]"]
end

node_staff(("Salon staff"))

node_staff -->|"opens"| node_home
node_home -->|"navigates to"| node_agenda
node_home -->|"navigates to"| node_pets
node_home -->|"navigates to"| node_services
node_home -->|"navigates to"| node_settings
node_home -->|"navigates to"| node_reports
node_staff -->|"manages bookings"| node_agenda
node_agenda -->|"shows"| node_calendar
node_agenda -->|"creates and edits"| node_appointment_editor
node_appointment_editor -->|"can create pet"| node_pets
node_appointment_editor -->|"can create service"| node_services
node_staff -->|"manages records"| node_pets
node_staff -->|"manages catalog"| node_services
node_staff -->|"reviews metrics"| node_reports
node_staff -->|"configures app"| node_settings
node_staff -->|"consults"| node_help
node_agenda -.->|"uses utilities"| node_shared
node_pets -.->|"uses utilities"| node_shared
node_services -.->|"uses utilities"| node_shared
node_reports -.->|"uses utilities"| node_shared
node_settings -.->|"uses utilities"| node_shared
node_shared -->|"reads and writes"| node_storage
node_agenda -.->|"persists bookings"| node_storage
node_pets -.->|"persists records"| node_storage
node_services -.->|"persists catalog"| node_storage
node_reports -.->|"reads summaries"| node_storage
node_settings -.->|"persists preferences"| node_storage
node_home -->|"uses shared styling"| node_styles
node_agenda -->|"uses shared styling"| node_styles
node_pets -->|"uses shared styling"| node_styles
node_services -->|"uses shared styling"| node_styles
node_reports -->|"uses shared styling"| node_styles
node_settings -->|"uses shared styling"| node_styles

click node_home "https://github.com/carlosalbertomarquez/loki-lu/blob/master/index.html"
click node_help "https://github.com/carlosalbertomarquez/loki-lu/blob/master/help.html"
click node_agenda "https://github.com/carlosalbertomarquez/loki-lu/blob/master/agenda.html"
click node_calendar "https://github.com/carlosalbertomarquez/loki-lu/blob/master/agenda.html"
click node_appointment_editor "https://github.com/carlosalbertomarquez/loki-lu/blob/master/agenda.html"
click node_pets "https://github.com/carlosalbertomarquez/loki-lu/blob/master/pets.html"
click node_services "https://github.com/carlosalbertomarquez/loki-lu/blob/master/services.html"
click node_reports "https://github.com/carlosalbertomarquez/loki-lu/blob/master/reports.html"
click node_settings "https://github.com/carlosalbertomarquez/loki-lu/blob/master/settings.html"
click node_shared "https://github.com/carlosalbertomarquez/loki-lu/blob/master/app.js"
click node_styles "https://github.com/carlosalbertomarquez/loki-lu/blob/master/style.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_help toneBlue
class node_agenda,node_calendar,node_appointment_editor,node_pets,node_services toneAmber
class node_reports,node_settings toneMint
class node_shared,node_storage,node_styles toneRose
class node_staff toneIndigo
```

## Components

### Entry and guidance

- [Landing page](https://github.com/carlosalbertomarquez/loki-lu/blob/master/index.html): `index.html`
- [Usage guide](https://github.com/carlosalbertomarquez/loki-lu/blob/master/help.html): `help.html`

### Salon operations

- [Appointment agenda](https://github.com/carlosalbertomarquez/loki-lu/blob/master/agenda.html): `agenda.html`
- [Calendar and day list](https://github.com/carlosalbertomarquez/loki-lu/blob/master/agenda.html): `agenda.html`
- [Appointment editor](https://github.com/carlosalbertomarquez/loki-lu/blob/master/agenda.html): `agenda.html`
- [Pet and client registry](https://github.com/carlosalbertomarquez/loki-lu/blob/master/pets.html): `pets.html`
- [Services and products](https://github.com/carlosalbertomarquez/loki-lu/blob/master/services.html): `services.html`

### Reports and settings

- [Salon reports](https://github.com/carlosalbertomarquez/loki-lu/blob/master/reports.html): `reports.html`
- [Appearance and data settings](https://github.com/carlosalbertomarquez/loki-lu/blob/master/settings.html): `settings.html`

### Shared runtime and data

- [Shared browser utilities](https://github.com/carlosalbertomarquez/loki-lu/blob/master/app.js): `app.js`
- **Browser localStorage**
- [Shared responsive styles](https://github.com/carlosalbertomarquez/loki-lu/blob/master/style.css): `style.css`

### Other components

- **Salon staff**

## Connections

- Salon staff → Landing page: opens (evidence: `README.md`)
- Landing page → Appointment agenda: navigates to (evidence: `README.md`)
- Landing page → Pet and client registry: navigates to (evidence: `README.md`)
- Landing page → Services and products: navigates to (evidence: `README.md`)
- Landing page → Appearance and data settings: navigates to (evidence: `README.md`)
- Landing page → Salon reports: navigates to (evidence: `README.md`)
- Salon staff → Appointment agenda: manages bookings (evidence: `README.md`)
- Appointment agenda → Calendar and day list: shows (evidence: `README.md`)
- Appointment agenda → Appointment editor: creates and edits (evidence: `README.md`)
- Appointment editor → Pet and client registry: can create pet (evidence: `README.md`)
- Appointment editor → Services and products: can create service (evidence: `README.md`)
- Salon staff → Pet and client registry: manages records (evidence: `README.md`)
- Salon staff → Services and products: manages catalog (evidence: `README.md`)
- Salon staff → Salon reports: reviews metrics (evidence: `README.md`)
- Salon staff → Appearance and data settings: configures app (evidence: `README.md`)
- Salon staff → Usage guide: consults (evidence: `README.md`)
- Appointment agenda → Shared browser utilities: uses utilities
- Pet and client registry → Shared browser utilities: uses utilities
- Services and products → Shared browser utilities: uses utilities
- Salon reports → Shared browser utilities: uses utilities
- Appearance and data settings → Shared browser utilities: uses utilities
- Shared browser utilities → Browser localStorage: reads and writes (evidence: `app.js`)
- Appointment agenda → Browser localStorage: persists bookings
- Pet and client registry → Browser localStorage: persists records
- Services and products → Browser localStorage: persists catalog
- Salon reports → Browser localStorage: reads summaries
- Appearance and data settings → Browser localStorage: persists preferences
- Landing page → Shared responsive styles: uses shared styling (evidence: `README.md`)
- Appointment agenda → Shared responsive styles: uses shared styling (evidence: `README.md`)
- Pet and client registry → Shared responsive styles: uses shared styling (evidence: `README.md`)
- Services and products → Shared responsive styles: uses shared styling (evidence: `README.md`)
- Salon reports → Shared responsive styles: uses shared styling (evidence: `README.md`)
- Appearance and data settings → Shared responsive styles: uses shared styling (evidence: `README.md`)
