# ajairaj10/compliance-app architecture

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

- Interactive diagram: https://gitdiagram.com/ajairaj10/compliance-app
- Repository: https://github.com/ajairaj10/compliance-app

## Overview

This is a small React compliance-audit application. Its visible workflow is loading the compliance interface, presenting framework-level compliance scores, and reviewing software assets; the excerpts show those UI responsibilities in one large component. Supabase is configured there, but the omitted data-loading implementation prevents tracing specific reads or writes. The README describes only the Create React App setup and Supabase configuration, not further product capabilities.

Main entry points: [`src/index.js`](https://github.com/ajairaj10/compliance-app/blob/main/src/index.js) (React Entry), [`src/compliance-audit-system.jsx`](https://github.com/ajairaj10/compliance-app/blob/main/src/compliance-audit-system.jsx) (Audit System)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Application Runtime"]
  node_entry["React Entry<br/>[index.js]"]
end

subgraph group_compliance["Compliance Interface"]
  node_audit["Audit System"]
  node_frameworks["Framework Scores"]
  node_assets["Asset Inventory"]
end

node_browser(("User Browser"))
node_supabase[("Supabase Service")]

node_browser -->|"opens app"| node_entry
node_entry -->|"renders"| node_audit
node_audit -.->|"connects to"| node_supabase

click node_entry "https://github.com/ajairaj10/compliance-app/blob/main/src/index.js"
click node_audit "https://github.com/ajairaj10/compliance-app/blob/main/src/compliance-audit-system.jsx"
click node_frameworks "https://github.com/ajairaj10/compliance-app/blob/main/src/compliance-audit-system.jsx"
click node_assets "https://github.com/ajairaj10/compliance-app/blob/main/src/compliance-audit-system.jsx"

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_entry,node_browser toneBlue
class node_audit,node_frameworks,node_assets,node_supabase toneAmber
```

## Components

### Application Runtime

- [React Entry](https://github.com/ajairaj10/compliance-app/blob/main/src/index.js): `src/index.js`

### Compliance Interface

- [Audit System](https://github.com/ajairaj10/compliance-app/blob/main/src/compliance-audit-system.jsx): `src/compliance-audit-system.jsx`
- [Framework Scores](https://github.com/ajairaj10/compliance-app/blob/main/src/compliance-audit-system.jsx): `src/compliance-audit-system.jsx`
- [Asset Inventory](https://github.com/ajairaj10/compliance-app/blob/main/src/compliance-audit-system.jsx): `src/compliance-audit-system.jsx`

### Other components

- **User Browser**
- **Supabase Service**

## Connections

- User Browser → React Entry: opens app (evidence: `src/index.js`)
- React Entry → Audit System: renders (evidence: `src/index.js`)
- Audit System → Supabase Service: connects to
