# cleitonme/whazing-saas.instalador architecture

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

- Interactive diagram: https://gitdiagram.com/cleitonme/whazing-saas.instalador
- Repository: https://github.com/cleitonme/whazing-saas.instalador

## Overview

This repository is a shell-based installer and operations toolkit for deploying and maintaining Whazing SaaS on an Ubuntu VPS. The documented user workflow is to prepare the server and DNS, then run the installation command; the README also describes updates and service-recovery guidance. Script names indicate separate backend, frontend, system, Redis, and WuzAPI concerns, but no source excerpts establish their call relationships. Accordingly, the graph shows only the documented installation entry and leaves other relationships unspecified.

Main entry points: [`install.sh`](https://github.com/cleitonme/whazing-saas.instalador/blob/main/install.sh) (Install command)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Installer entry"]
  node_installer["Install command<br/>[install.sh]"]
end

subgraph group_setup["Deployment configuration"]
  node_backend["Backend setup<br/>[_backend.sh]"]
  node_frontend["Frontend setup<br/>[_frontend.sh]"]
  node_system["System setup<br/>[_system.sh]"]
  node_inquiry["Inquiry setup<br/>[_inquiry.sh]"]
  node_wuzapi["WuzAPI setup<br/>[_wuzapi.sh]"]
  node_manifest["Library manifest<br/>[manifest.sh]"]
  node_variables_manifest["Variables manifest<br/>[manifest.sh]"]
  node_background["Background variables<br/>[_background.sh]"]
  node_fonts["Font variables<br/>[_fonts.sh]"]
  node_general["General variables<br/>[_general.sh]"]
  node_config["Configuration"]
end

subgraph group_operations["Operations"]
  node_redis["Redis operations<br/>[redis.sh]"]
  node_backup["Backup<br/>[backup.sh]"]
  node_restore["Restore<br/>[restaurar.sh]"]
  node_update["Update<br/>[update.sh]"]
  node_alpha["Alpha command<br/>[alpha.sh]"]
  node_beta["Beta command<br/>[beta.sh]"]
  node_wuzapi_command["WuzAPI command<br/>[wuzapi.sh]"]
  node_whazing["Whazing command"]
  node_utils_manifest["Utility manifest<br/>[manifest.sh]"]
  node_banner["Banner utility<br/>[_banner.sh]"]
end

node_operator(("Server operator"))

node_operator -->|"runs install"| node_installer

click node_installer "https://github.com/cleitonme/whazing-saas.instalador/blob/main/install.sh"
click node_backend "https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/_backend.sh"
click node_frontend "https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/_frontend.sh"
click node_system "https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/_system.sh"
click node_inquiry "https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/_inquiry.sh"
click node_wuzapi "https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/_wuzapi.sh"
click node_manifest "https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/manifest.sh"
click node_redis "https://github.com/cleitonme/whazing-saas.instalador/blob/main/redis.sh"
click node_backup "https://github.com/cleitonme/whazing-saas.instalador/blob/main/backup.sh"
click node_restore "https://github.com/cleitonme/whazing-saas.instalador/blob/main/restaurar.sh"
click node_update "https://github.com/cleitonme/whazing-saas.instalador/blob/main/update.sh"
click node_alpha "https://github.com/cleitonme/whazing-saas.instalador/blob/main/alpha.sh"
click node_beta "https://github.com/cleitonme/whazing-saas.instalador/blob/main/beta.sh"
click node_wuzapi_command "https://github.com/cleitonme/whazing-saas.instalador/blob/main/wuzapi.sh"
click node_whazing "https://github.com/cleitonme/whazing-saas.instalador/blob/main/whazing"
click node_utils_manifest "https://github.com/cleitonme/whazing-saas.instalador/blob/main/utils/manifest.sh"
click node_banner "https://github.com/cleitonme/whazing-saas.instalador/blob/main/utils/_banner.sh"
click node_variables_manifest "https://github.com/cleitonme/whazing-saas.instalador/blob/main/variables/manifest.sh"
click node_background "https://github.com/cleitonme/whazing-saas.instalador/blob/main/variables/_background.sh"
click node_fonts "https://github.com/cleitonme/whazing-saas.instalador/blob/main/variables/_fonts.sh"
click node_general "https://github.com/cleitonme/whazing-saas.instalador/blob/main/variables/_general.sh"
click node_config "https://github.com/cleitonme/whazing-saas.instalador/blob/main/config"

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_installer toneBlue
class node_backend,node_frontend,node_system,node_inquiry,node_wuzapi,node_manifest,node_variables_manifest,node_background,node_fonts,node_general,node_config toneAmber
class node_redis,node_backup,node_restore,node_update,node_alpha,node_beta,node_wuzapi_command,node_whazing,node_utils_manifest,node_banner,node_operator toneMint
```

## Components

### Installer entry

- [Install command](https://github.com/cleitonme/whazing-saas.instalador/blob/main/install.sh): `install.sh`

### Deployment configuration

- [Backend setup](https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/_backend.sh): `lib/_backend.sh`
- [Frontend setup](https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/_frontend.sh): `lib/_frontend.sh`
- [System setup](https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/_system.sh): `lib/_system.sh`
- [Inquiry setup](https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/_inquiry.sh): `lib/_inquiry.sh`
- [WuzAPI setup](https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/_wuzapi.sh): `lib/_wuzapi.sh`
- [Library manifest](https://github.com/cleitonme/whazing-saas.instalador/blob/main/lib/manifest.sh): `lib/manifest.sh`
- [Variables manifest](https://github.com/cleitonme/whazing-saas.instalador/blob/main/variables/manifest.sh): `variables/manifest.sh`
- [Background variables](https://github.com/cleitonme/whazing-saas.instalador/blob/main/variables/_background.sh): `variables/_background.sh`
- [Font variables](https://github.com/cleitonme/whazing-saas.instalador/blob/main/variables/_fonts.sh): `variables/_fonts.sh`
- [General variables](https://github.com/cleitonme/whazing-saas.instalador/blob/main/variables/_general.sh): `variables/_general.sh`
- [Configuration](https://github.com/cleitonme/whazing-saas.instalador/blob/main/config): `config`

### Operations

- [Redis operations](https://github.com/cleitonme/whazing-saas.instalador/blob/main/redis.sh): `redis.sh`
- [Backup](https://github.com/cleitonme/whazing-saas.instalador/blob/main/backup.sh): `backup.sh`
- [Restore](https://github.com/cleitonme/whazing-saas.instalador/blob/main/restaurar.sh): `restaurar.sh`
- [Update](https://github.com/cleitonme/whazing-saas.instalador/blob/main/update.sh): `update.sh`
- [Alpha command](https://github.com/cleitonme/whazing-saas.instalador/blob/main/alpha.sh): `alpha.sh`
- [Beta command](https://github.com/cleitonme/whazing-saas.instalador/blob/main/beta.sh): `beta.sh`
- [WuzAPI command](https://github.com/cleitonme/whazing-saas.instalador/blob/main/wuzapi.sh): `wuzapi.sh`
- [Whazing command](https://github.com/cleitonme/whazing-saas.instalador/blob/main/whazing): `whazing`
- [Utility manifest](https://github.com/cleitonme/whazing-saas.instalador/blob/main/utils/manifest.sh): `utils/manifest.sh`
- [Banner utility](https://github.com/cleitonme/whazing-saas.instalador/blob/main/utils/_banner.sh): `utils/_banner.sh`

### Other components

- **Server operator**

## Connections

- Server operator → Install command: runs install (evidence: `README.md`)
