# alissonfurtado/verificadoagora architecture

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

- Interactive diagram: https://gitdiagram.com/alissonfurtado/verificadoagora
- Repository: https://github.com/alissonfurtado/verificadoagora

## Overview

Verificado Agora is a curated technology-affiliate storefront for people arriving from Instagram. Visitors browse current offers, inspect product pages, price history, comparisons, and buying guides, then follow affiliate links. A daily Mercado Livre price-checking job refreshes the evidence behind those offers; the site surfaces when prices were last checked. The graph preserves the documented social, editorial, and seasonal features. Some routes and the price-check implementation are indexed but not excerpted, so their connections are shown only where the README or index supports them.

Main entry points: [`src/lib/catalogo.ts`](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/catalogo.ts) (Catalog reader), [`src/lib/historico.ts`](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/historico.ts) (Price history), [`src/app/page.tsx`](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/page.tsx) (Home storefront), [`src/app/produto/[slug]/page.tsx`](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/produto/%5Bslug%5D/page.tsx) (Product detail)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_audience["Storefront"]
  node_home["Home storefront<br/>[page.tsx]"]
  node_entry["Quick entry<br/>[page.tsx]"]
  node_product["Product detail<br/>[page.tsx]"]
  node_offers["Offer components"]
  node_cards["Product cards<br/>[card-produto.tsx]"]
end

subgraph group_editorial["Buying guidance"]
  node_comparison["Comparisons<br/>[page.tsx]"]
  node_comparison_rules["Comparison rules<br/>[comparativos.ts]"]
  node_guide["Buying guides<br/>[page.tsx]"]
  node_decisions["Decision guides<br/>[decisoes.ts]"]
  node_guides_data["Guide content<br/>[guias.ts]"]
  node_seasonal["Black Friday<br/>[page.tsx]"]
  node_method["Verification method<br/>[page.tsx]"]
end

subgraph group_pricing["Price intelligence"]
  node_catalog["Catalog reader<br/>[catalogo.ts]"]
  node_products["Product rules<br/>[produtos.ts]"]
  node_history["Price history<br/>[historico.ts]"]
  node_drops["Price drops<br/>[quedas.ts]"]
  node_clock["Check freshness<br/>[relogio.ts]"]
  node_badge["Freshness badge"]
  node_robot["Daily price checker<br/>[conferir-precos.ts]"]
  node_meli_client["Meli integration<br/>[meli.ts]"]
end

subgraph group_social["Social publishing"]
  node_instagram_page["Instagram feed<br/>[page.tsx]"]
  node_pin["Pin image route<br/>[route.tsx]"]
  node_reel["Reel image route<br/>[route.tsx]"]
end

node_visitor(("Shopper"))
node_instagram(("Instagram visitor"))
node_meli["Mercado Livre API"]

node_instagram -->|"opens offers"| node_entry
node_visitor -->|"browses"| node_home
node_visitor -->|"opens product"| node_product
node_home -->|"reads catalog"| node_catalog
node_home -->|"filters products"| node_products
node_home -->|"reads history"| node_history
node_home -->|"renders cards"| node_cards
node_entry -->|"reads catalog"| node_catalog
node_entry -->|"reads history"| node_history
node_entry -->|"finds drops"| node_drops
node_product -->|"loads catalog"| node_catalog
node_product -->|"reads history"| node_history
node_product -->|"renders offer"| node_offers
node_product -->|"shows freshness"| node_badge
node_robot -->|"requests prices"| node_meli_client
node_meli_client -.->|"queries listings"| node_meli
node_robot -->|"records prices"| node_history
node_comparison -->|"loads content"| node_catalog
node_comparison -->|"selects comparison"| node_comparison_rules
node_comparison -->|"renders offer"| node_offers
node_guide -->|"loads content"| node_catalog
node_guide -->|"loads decisions"| node_decisions
node_guide -->|"loads guides"| node_guides_data
node_seasonal -->|"reads catalog"| node_catalog
node_seasonal -->|"reads history"| node_history
node_method -->|"reads catalog"| node_catalog
node_method -->|"explains checks"| node_badge
node_badge -->|"formats freshness"| node_clock
node_instagram_page -->|"loads products"| node_catalog
node_instagram_page -->|"renders cards"| node_cards
node_pin -->|"selects product"| node_products
node_reel -->|"selects product"| node_products
node_reel -->|"summarizes prices"| node_history
node_products -->|"formats price data"| node_history

click node_home "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/page.tsx"
click node_entry "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/entrar/page.tsx"
click node_product "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/produto/%5Bslug%5D/page.tsx"
click node_offers "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/barra-de-oferta.tsx"
click node_cards "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/card-produto.tsx"
click node_catalog "https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/catalogo.ts"
click node_products "https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/produtos.ts"
click node_history "https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/historico.ts"
click node_drops "https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/quedas.ts"
click node_clock "https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/relogio.ts"
click node_badge "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/selo-de-conferencia.tsx"
click node_robot "https://github.com/alissonfurtado/verificadoagora/blob/main/scripts/conferir-precos.ts"
click node_meli_client "https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/meli.ts"
click node_comparison "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/comparativo/%5Bslug%5D/page.tsx"
click node_comparison_rules "https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/comparativos.ts"
click node_guide "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/guia/%5Bslug%5D/page.tsx"
click node_decisions "https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/decisoes.ts"
click node_guides_data "https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/guias.ts"
click node_seasonal "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/black-friday/page.tsx"
click node_method "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/como-conferimos/page.tsx"
click node_instagram_page "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/instagram/page.tsx"
click node_pin "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/pin/%5Bslug%5D/route.tsx"
click node_reel "https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/reel/%5Bslug%5D/route.tsx"

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_entry,node_product,node_offers,node_cards toneBlue
class node_comparison,node_comparison_rules,node_guide,node_decisions,node_guides_data,node_seasonal,node_method toneAmber
class node_catalog,node_products,node_history,node_drops,node_clock,node_badge,node_robot,node_meli_client,node_meli toneMint
class node_instagram_page,node_pin,node_reel toneRose
class node_visitor,node_instagram toneIndigo
```

## Components

### Storefront

- [Home storefront](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Quick entry](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/entrar/page.tsx): `src/app/entrar/page.tsx`
- [Product detail](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/produto/%5Bslug%5D/page.tsx): `src/app/produto/[slug]/page.tsx`
- [Offer components](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/barra-de-oferta.tsx): `src/app/barra-de-oferta.tsx`
- [Product cards](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/card-produto.tsx): `src/app/card-produto.tsx`

### Buying guidance

- [Comparisons](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/comparativo/%5Bslug%5D/page.tsx): `src/app/comparativo/[slug]/page.tsx`
- [Comparison rules](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/comparativos.ts): `src/lib/comparativos.ts`
- [Buying guides](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/guia/%5Bslug%5D/page.tsx): `src/app/guia/[slug]/page.tsx`
- [Decision guides](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/decisoes.ts): `src/lib/decisoes.ts`
- [Guide content](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/guias.ts): `src/lib/guias.ts`
- [Black Friday](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/black-friday/page.tsx): `src/app/black-friday/page.tsx`
- [Verification method](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/como-conferimos/page.tsx): `src/app/como-conferimos/page.tsx`

### Price intelligence

- [Catalog reader](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/catalogo.ts): `src/lib/catalogo.ts`
- [Product rules](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/produtos.ts): `src/lib/produtos.ts`
- [Price history](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/historico.ts): `src/lib/historico.ts`
- [Price drops](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/quedas.ts): `src/lib/quedas.ts`
- [Check freshness](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/relogio.ts): `src/lib/relogio.ts`
- [Freshness badge](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/selo-de-conferencia.tsx): `src/app/selo-de-conferencia.tsx`
- [Daily price checker](https://github.com/alissonfurtado/verificadoagora/blob/main/scripts/conferir-precos.ts): `scripts/conferir-precos.ts`
- [Meli integration](https://github.com/alissonfurtado/verificadoagora/blob/main/src/lib/meli.ts): `src/lib/meli.ts`

### Social publishing

- [Instagram feed](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/instagram/page.tsx): `src/app/instagram/page.tsx`
- [Pin image route](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/pin/%5Bslug%5D/route.tsx): `src/app/pin/[slug]/route.tsx`
- [Reel image route](https://github.com/alissonfurtado/verificadoagora/blob/main/src/app/reel/%5Bslug%5D/route.tsx): `src/app/reel/[slug]/route.tsx`

### Other components

- **Shopper**
- **Instagram visitor**
- **Mercado Livre API**

## Connections

- Instagram visitor → Quick entry: opens offers (evidence: `README.md`)
- Shopper → Home storefront: browses (evidence: `src/app/page.tsx`)
- Shopper → Product detail: opens product
- Home storefront → Catalog reader: reads catalog (evidence: `src/app/page.tsx`)
- Home storefront → Product rules: filters products (evidence: `src/app/page.tsx`)
- Home storefront → Price history: reads history (evidence: `src/app/page.tsx`)
- Home storefront → Product cards: renders cards (evidence: `src/app/page.tsx`)
- Quick entry → Catalog reader: reads catalog (evidence: `src/app/entrar/page.tsx`)
- Quick entry → Price history: reads history (evidence: `src/app/entrar/page.tsx`)
- Quick entry → Price drops: finds drops (evidence: `src/app/entrar/page.tsx`)
- Product detail → Catalog reader: loads catalog (evidence: `src/app/produto/[slug]/page.tsx`)
- Product detail → Price history: reads history (evidence: `src/app/produto/[slug]/page.tsx`)
- Product detail → Offer components: renders offer (evidence: `src/app/produto/[slug]/page.tsx`)
- Product detail → Freshness badge: shows freshness (evidence: `src/app/produto/[slug]/page.tsx`)
- Daily price checker → Meli integration: requests prices (evidence: `scripts/conferir-precos.ts`)
- Meli integration → Mercado Livre API: queries listings
- Daily price checker → Price history: records prices (evidence: `scripts/conferir-precos.ts`)
- Comparisons → Catalog reader: loads content (evidence: `src/app/comparativo/[slug]/page.tsx`)
- Comparisons → Comparison rules: selects comparison (evidence: `src/app/comparativo/[slug]/page.tsx`)
- Comparisons → Offer components: renders offer (evidence: `src/app/comparativo/[slug]/page.tsx`)
- Buying guides → Catalog reader: loads content (evidence: `src/app/guia/[slug]/page.tsx`)
- Buying guides → Decision guides: loads decisions (evidence: `src/app/guia/[slug]/page.tsx`)
- Buying guides → Guide content: loads guides (evidence: `src/app/guia/[slug]/page.tsx`)
- Black Friday → Catalog reader: reads catalog (evidence: `src/app/black-friday/page.tsx`)
- Black Friday → Price history: reads history (evidence: `src/app/black-friday/page.tsx`)
- Verification method → Catalog reader: reads catalog (evidence: `src/app/como-conferimos/page.tsx`)
- Verification method → Freshness badge: explains checks (evidence: `src/app/como-conferimos/page.tsx`)
- Freshness badge → Check freshness: formats freshness (evidence: `src/app/selo-de-conferencia.tsx`)
- Instagram feed → Catalog reader: loads products (evidence: `src/app/instagram/page.tsx`)
- Instagram feed → Product cards: renders cards (evidence: `src/app/instagram/page.tsx`)
- Pin image route → Product rules: selects product (evidence: `src/app/pin/[slug]/route.tsx`)
- Reel image route → Product rules: selects product (evidence: `src/app/reel/[slug]/route.tsx`)
- Reel image route → Price history: summarizes prices (evidence: `src/app/reel/[slug]/route.tsx`)
- Product rules → Price history: formats price data (evidence: `src/lib/historico.ts`)
