# feliperobinson/e-commerce-viagens architecture

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

- Interactive diagram: https://gitdiagram.com/feliperobinson/e-commerce-viagens
- Repository: https://github.com/feliperobinson/e-commerce-viagens

## Overview

Oceanun is documented as an internal travel-sales tool for agency attendants and managers. Its described workflow covers authenticated, role-based access; customer and task management; sales-funnel tracking and deadline notifications; and manager-only sales and commission analysis. The repository contains a website script with only trip-form interactions and a SQL artifact, not sampled application services for these workflows. Accordingly, the broader capabilities below represent the README’s product description, not verified runtime connections; the SQL model is documented but its contents were not sampled.

Main entry points: [`MER/oceanun_seed.sql`](https://github.com/feliperobinson/e-commerce-viagens/blob/main/MER/oceanun_seed.sql) (Relational data model), [`Website/index.html`](https://github.com/feliperobinson/e-commerce-viagens/blob/main/Website/index.html) (Travel website), [`Website/script.js`](https://github.com/feliperobinson/e-commerce-viagens/blob/main/Website/script.js) (Trip-form controls)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Website interface"]
  node_website["Travel website<br/>[index.html]"]
  node_trip_controls["Trip-form controls<br/>[script.js]"]
end

subgraph group_access["Access management"]
  node_identity["Authentication"]
  node_user_admin["User management"]
end

subgraph group_service["Customer service"]
  node_customer_records["Customer records"]
  node_tasks["Tasks and reminders"]
  node_sales_funnel["Service funnel"]
  node_deadline_alerts["Deadline notifications"]
end

subgraph group_sales["Sales oversight"]
  node_sales_reports["Sales and commissions"]
  node_relational_model[("Relational data model<br/>[oceanun_seed.sql]")]
end

node_staff(("Attendants and managers"))

node_staff -->|"use"| node_website
node_website -->|"handles interactions"| node_trip_controls
node_staff -->|"authenticate"| node_identity
node_staff -->|"manage users"| node_user_admin
node_staff -->|"manage customers"| node_customer_records
node_staff -->|"create tasks"| node_tasks
node_staff -->|"track service"| node_sales_funnel
node_deadline_alerts -->|"notify deadlines"| node_staff
node_staff -->|"analyze sales"| node_sales_reports
node_relational_model -->|"models customer data"| node_customer_records
node_relational_model -->|"models tasks"| node_tasks
node_relational_model -->|"models sales data"| node_sales_reports

click node_website "https://github.com/feliperobinson/e-commerce-viagens/blob/main/Website/index.html"
click node_trip_controls "https://github.com/feliperobinson/e-commerce-viagens/blob/main/Website/script.js"
click node_relational_model "https://github.com/feliperobinson/e-commerce-viagens/blob/main/MER/oceanun_seed.sql"

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_website,node_trip_controls toneBlue
class node_identity,node_user_admin toneAmber
class node_customer_records,node_tasks,node_sales_funnel,node_deadline_alerts toneMint
class node_sales_reports,node_relational_model toneRose
class node_staff toneIndigo
```

## Components

### Website interface

- [Travel website](https://github.com/feliperobinson/e-commerce-viagens/blob/main/Website/index.html): `Website/index.html`
- [Trip-form controls](https://github.com/feliperobinson/e-commerce-viagens/blob/main/Website/script.js): `Website/script.js`

### Access management

- **Authentication**
- **User management**

### Customer service

- **Customer records**
- **Tasks and reminders**
- **Service funnel**
- **Deadline notifications**

### Sales oversight

- **Sales and commissions**
- [Relational data model](https://github.com/feliperobinson/e-commerce-viagens/blob/main/MER/oceanun_seed.sql): `MER/oceanun_seed.sql`

### Other components

- **Attendants and managers**

## Connections

- Attendants and managers → Travel website: use (evidence: `readme.md`)
- Travel website → Trip-form controls: handles interactions (evidence: `Website/script.js`)
- Attendants and managers → Authentication: authenticate (evidence: `readme.md`)
- Attendants and managers → User management: manage users (evidence: `readme.md`)
- Attendants and managers → Customer records: manage customers (evidence: `readme.md`)
- Attendants and managers → Tasks and reminders: create tasks (evidence: `readme.md`)
- Attendants and managers → Service funnel: track service (evidence: `readme.md`)
- Deadline notifications → Attendants and managers: notify deadlines (evidence: `readme.md`)
- Attendants and managers → Sales and commissions: analyze sales (evidence: `readme.md`)
- Relational data model → Customer records: models customer data (evidence: `readme.md`)
- Relational data model → Tasks and reminders: models tasks (evidence: `readme.md`)
- Relational data model → Sales and commissions: models sales data (evidence: `readme.md`)
