# profantoniofigueiredo/oci-cloud-devops-quantum-commerce architecture

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

- Interactive diagram: https://gitdiagram.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce
- Repository: https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce

## Overview

Quantum Commerce is a hands-on OCI Cloud Computing and DevOps course, delivered as a navigable webapp with labs and a hosted platform for learner identity, progress, and quiz results. The principal workflow is learner → course content and lab guidance → persisted progress or Fast Test results. The graph preserves the documented cloud and AI learning branches; unsampled lab implementations are represented at their existing directory paths. Edges are limited to relationships shown in excerpts or documented in the README.

Main entry points: [`backend/nginx-quantum-lms.conf`](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/backend/nginx-quantum-lms.conf) (Hosted nginx gateway), [`webapp/index.html`](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/webapp/index.html) (Course webapp), [`backend/session_api.py`](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/backend/session_api.py) (Session API), [`webapp/js/app.js`](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/webapp/js/app.js) (Course navigation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Course experience"]
  node_web["Course webapp<br/>[index.html]"]
  node_navigation["Course navigation<br/>[app.js]"]
  node_curriculum["Course content<br/>[data.js]"]
  node_course_case["Quantum Commerce case"]
end

subgraph group_platform["Hosted platform"]
  node_nginx["Hosted nginx gateway"]
  node_session_api["Session API<br/>[session_api.py]"]
  node_database[("Autonomous Database<br/>[db.py]")]
end

subgraph group_cloudlabs["OCI labs"]
  node_labs_core["OCI core labs"]
  node_lab_oke["OKE capstone"]
end

subgraph group_ailabs["AI labs"]
  node_lab_agent["Quantum AI agent"]
  node_lab_genai["GenAI proxy<br/>[genai_proxy.py]"]
  node_lab_genai_db["GenAI database labs"]
end

node_learner(("Learner"))
node_oci_genai{{"OCI Generative AI"}}

node_learner -->|"opens course"| node_web
node_web -.->|"loads navigation"| node_navigation
node_navigation -->|"renders content"| node_curriculum
node_curriculum -->|"names source case"| node_course_case
node_learner -->|"follows lab guides"| node_labs_core
node_learner -->|"deploys capstone"| node_lab_oke
node_learner -->|"runs AI exercise"| node_lab_agent
node_lab_agent -.->|"calls model"| node_oci_genai
node_learner -->|"uses chat proxy"| node_lab_genai
node_lab_genai -->|"sends chat request"| node_oci_genai
node_learner -->|"follows database labs"| node_lab_genai_db
node_learner -->|"accesses hosted platform"| node_nginx
node_nginx -.->|"serves webapp"| node_web
node_web -->|"posts progress"| node_session_api
node_nginx -->|"routes API"| node_session_api
node_session_api -->|"reads and writes"| node_database
node_nginx -.->|"checks session"| node_session_api

click node_web "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/webapp/index.html"
click node_navigation "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/webapp/js/app.js"
click node_curriculum "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/webapp/js/data.js"
click node_course_case "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/docs/quantum-commerce-case.md"
click node_labs_core "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/tree/main/labs"
click node_lab_oke "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/tree/main/labs/lab-13-capstone-oke"
click node_lab_agent "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/labs/lab-03-compute/ai_agent_quantum.py"
click node_lab_genai "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/labs/lab-11-genai/genai_proxy.py"
click node_lab_genai_db "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/tree/main/labs/lab-12-genai-database"
click node_nginx "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/backend/nginx-quantum-lms.conf"
click node_session_api "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/backend/session_api.py"
click node_database "https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/backend/db.py"

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_web,node_navigation,node_curriculum,node_course_case toneBlue
class node_nginx,node_session_api,node_database toneAmber
class node_labs_core,node_lab_oke toneMint
class node_lab_agent,node_lab_genai,node_lab_genai_db toneRose
class node_learner,node_oci_genai toneIndigo
```

## Components

### Course experience

- [Course webapp](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/webapp/index.html): `webapp/index.html`
- [Course navigation](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/webapp/js/app.js): `webapp/js/app.js`
- [Course content](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/webapp/js/data.js): `webapp/js/data.js`
- [Quantum Commerce case](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/docs/quantum-commerce-case.md): `docs/quantum-commerce-case.md`

### Hosted platform

- [Hosted nginx gateway](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/backend/nginx-quantum-lms.conf): `backend/nginx-quantum-lms.conf`
- [Session API](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/backend/session_api.py): `backend/session_api.py`
- [Autonomous Database](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/backend/db.py): `backend/db.py`

### OCI labs

- [OCI core labs](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/tree/main/labs): `labs`
- [OKE capstone](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/tree/main/labs/lab-13-capstone-oke): `labs/lab-13-capstone-oke`

### AI labs

- [Quantum AI agent](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/labs/lab-03-compute/ai_agent_quantum.py): `labs/lab-03-compute/ai_agent_quantum.py`
- [GenAI proxy](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/blob/main/labs/lab-11-genai/genai_proxy.py): `labs/lab-11-genai/genai_proxy.py`
- [GenAI database labs](https://github.com/profantoniofigueiredo/oci-cloud-devops-quantum-commerce/tree/main/labs/lab-12-genai-database): `labs/lab-12-genai-database`

### Other components

- **Learner**
- **OCI Generative AI**

## Connections

- Learner → Course webapp: opens course (evidence: `README.md`)
- Course webapp → Course navigation: loads navigation
- Course navigation → Course content: renders content (evidence: `webapp/js/app.js`)
- Course content → Quantum Commerce case: names source case (evidence: `webapp/js/data.js`)
- Learner → OCI core labs: follows lab guides (evidence: `README.md`)
- Learner → OKE capstone: deploys capstone (evidence: `README.md`)
- Learner → Quantum AI agent: runs AI exercise (evidence: `labs/lab-03-compute/ai_agent_quantum.py`)
- Quantum AI agent → OCI Generative AI: calls model
- Learner → GenAI proxy: uses chat proxy (evidence: `labs/lab-11-genai/genai_proxy.py`)
- GenAI proxy → OCI Generative AI: sends chat request (evidence: `labs/lab-11-genai/genai_proxy.py`)
- Learner → GenAI database labs: follows database labs (evidence: `README.md`)
- Learner → Hosted nginx gateway: accesses hosted platform (evidence: `README.md`)
- Hosted nginx gateway → Course webapp: serves webapp
- Course webapp → Session API: posts progress
- Hosted nginx gateway → Session API: routes API (evidence: `README.md`)
- Session API → Autonomous Database: reads and writes (evidence: `backend/session_api.py`)
- Hosted nginx gateway → Session API: checks session
