# thaleslaray/crm-templates architecture

> Architecture diagram of the GitHub repository thaleslaray/crm-templates, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/thaleslaray/crm-templates
- Repository: https://github.com/thaleslaray/crm-templates

## Overview

Este repositório é um catálogo de templates para um CRM, não uma aplicação com lógica de execução própria. O fluxo documentado é o CRM ler `registry.json` para listar templates disponíveis. O template `saas-b2b` inclui um manifesto e uma jornada; não há trechos de código nem evidência suficiente para afirmar como o CRM carrega esses arquivos ou como o registro os referencia.

Main entry points: [`registry.json`](https://github.com/thaleslaray/crm-templates/blob/main/registry.json) (Registro)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Catálogo"]
  node_registry["Registro<br/>[registry.json]"]
end

subgraph group_template["Template SaaS B2B"]
  node_saas_template["Template SaaS B2B"]
  node_manifest["Manifesto<br/>[manifest.json]"]
  node_journey["Jornada<br/>[journey.json]"]
end

node_crm(("CRM"))

node_crm -->|"lê"| node_registry

click node_registry "https://github.com/thaleslaray/crm-templates/blob/main/registry.json"
click node_saas_template "https://github.com/thaleslaray/crm-templates/tree/main/templates/saas-b2b"
click node_manifest "https://github.com/thaleslaray/crm-templates/blob/main/templates/saas-b2b/manifest.json"
click node_journey "https://github.com/thaleslaray/crm-templates/blob/main/templates/saas-b2b/journey.json"

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_registry toneBlue
class node_saas_template,node_manifest,node_journey toneAmber
class node_crm toneIndigo
```

## Components

### Catálogo

- [Registro](https://github.com/thaleslaray/crm-templates/blob/main/registry.json): `registry.json`

### Template SaaS B2B

- [Template SaaS B2B](https://github.com/thaleslaray/crm-templates/tree/main/templates/saas-b2b): `templates/saas-b2b`
- [Manifesto](https://github.com/thaleslaray/crm-templates/blob/main/templates/saas-b2b/manifest.json): `templates/saas-b2b/manifest.json`
- [Jornada](https://github.com/thaleslaray/crm-templates/blob/main/templates/saas-b2b/journey.json): `templates/saas-b2b/journey.json`

### Other components

- **CRM**

## Connections

- CRM → Registro: lê (evidence: `README.md`)
