# vitordomingos/projeto-integrador architecture

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

- Interactive diagram: https://gitdiagram.com/vitordomingos/projeto-integrador
- Repository: https://github.com/vitordomingos/projeto-integrador

## Overview

This repository documents a cupcake e-commerce system rather than providing application source code. The principal workflow is browsing the catalog, selecting items, and closing a purchase into an order; customers can then view purchase history and track order status, while administrators manage products and order status. The README describes the domain tables and their integrity rules, but no implementation excerpts are available, so the graph represents documented capabilities and relationships—not verified runtime calls.

Main entry points: [`README.md`](https://github.com/vitordomingos/projeto-integrador/blob/main/README.md) (Commerce Database)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_commerce["Customer Commerce"]
  node_storefront["Virtual Storefront"]
  node_account["Account and History"]
  node_catalog["Product Catalog"]
  node_cartcheckout["Cart and Checkout"]
  node_tracking["Order Tracking"]
end

subgraph group_operations["Store Operations"]
  node_productadmin["Catalog Management"]
  node_orderadmin["Order Management"]
end

subgraph group_data["Data Model"]
  node_schema[("Commerce Database<br/>[README.md]")]
end

node_customer(("Customer"))
node_admin(("Administrator"))

node_customer -->|"browses"| node_storefront
node_storefront -->|"displays products"| node_catalog
node_customer -->|"places order"| node_cartcheckout
node_customer -->|"views history"| node_account
node_customer -->|"tracks order"| node_tracking
node_admin -->|"manages catalog"| node_productadmin
node_admin -->|"updates status"| node_orderadmin
node_account -->|"uses cliente, pedido"| node_schema
node_catalog -->|"uses produto"| node_schema
node_cartcheckout -->|"records pedido, itens"| node_schema
node_tracking -->|"reads pedido status"| node_schema
node_productadmin -->|"manages produto"| node_schema
node_orderadmin -->|"updates pedido status"| node_schema

click node_schema "https://github.com/vitordomingos/projeto-integrador/blob/main/README.md"

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_storefront,node_account,node_catalog,node_cartcheckout,node_tracking toneBlue
class node_productadmin,node_orderadmin toneAmber
class node_schema toneMint
class node_customer,node_admin toneIndigo
```

## Components

### Customer Commerce

- **Virtual Storefront**
- **Account and History**
- **Product Catalog**
- **Cart and Checkout**
- **Order Tracking**

### Store Operations

- **Catalog Management**
- **Order Management**

### Data Model

- [Commerce Database](https://github.com/vitordomingos/projeto-integrador/blob/main/README.md): `README.md`

### Other components

- **Customer**
- **Administrator**

## Connections

- Customer → Virtual Storefront: browses (evidence: `README.md`)
- Virtual Storefront → Product Catalog: displays products (evidence: `README.md`)
- Customer → Cart and Checkout: places order (evidence: `README.md`)
- Customer → Account and History: views history (evidence: `README.md`)
- Customer → Order Tracking: tracks order (evidence: `README.md`)
- Administrator → Catalog Management: manages catalog (evidence: `README.md`)
- Administrator → Order Management: updates status (evidence: `README.md`)
- Account and History → Commerce Database: uses cliente, pedido (evidence: `README.md`)
- Product Catalog → Commerce Database: uses produto (evidence: `README.md`)
- Cart and Checkout → Commerce Database: records pedido, itens (evidence: `README.md`)
- Order Tracking → Commerce Database: reads pedido status (evidence: `README.md`)
- Catalog Management → Commerce Database: manages produto (evidence: `README.md`)
- Order Management → Commerce Database: updates pedido status (evidence: `README.md`)
