# bteducationministry/x9q-product-education-ministry-org architecture

> Architecture diagram of the GitHub repository bteducationministry/x9q-product-education-ministry-org, 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/bteducationministry/x9q-product-education-ministry-org
- Repository: https://github.com/bteducationministry/x9q-product-education-ministry-org

## Overview

Education Ministry is a static React member portal for faith-grounded civic education, separate from the WordPress main site. The documented user journey is entering the SPA and accessing its structured learning progression, programs, and membership features. The README identifies the application and configuration files, but no source excerpts were provided; feature-level implementation and runtime calls therefore remain unverified.

Main entry points: [`assets/js/app.js`](https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js) (Portal application), [`assets/js/config.js`](https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/config.js) (Environment configuration), [`index.html`](https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/index.html) (React SPA)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Portal entry"]
  node_spa["React SPA<br/>[index.html]"]
  node_application["Portal application<br/>[app.js]"]
end

subgraph group_learning["Learning programs"]
  node_progression["Five-level progression<br/>[app.js]"]
  node_challenge["Youth engagement challenge<br/>[app.js]"]
  node_aemp["Applied community project<br/>[app.js]"]
  node_library["Civil Library<br/>[app.js]"]
end

subgraph group_platform["Platform configuration"]
  node_config["Environment configuration<br/>[config.js]"]
end

node_visitor(("Portal visitor"))
node_api["Backend API"]
node_wordpress["WordPress main site"]
node_login["External login platform"]
node_stripe["Stripe payments"]

node_visitor -->|"opens"| node_spa
node_spa -->|"hosts"| node_application
node_application -.->|"offers"| node_progression
node_application -.->|"offers"| node_challenge
node_application -.->|"offers"| node_aemp
node_application -.->|"offers"| node_library
node_config -->|"configures endpoint"| node_api
node_config -->|"configures link"| node_wordpress
node_config -->|"configures link"| node_login
node_spa -->|"loads library"| node_stripe

click node_spa "https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/index.html"
click node_application "https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js"
click node_progression "https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js"
click node_challenge "https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js"
click node_aemp "https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js"
click node_library "https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js"
click node_config "https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/config.js"

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_spa,node_application toneBlue
class node_progression,node_challenge,node_aemp,node_library toneAmber
class node_config,node_api toneMint
class node_visitor,node_wordpress,node_login,node_stripe toneIndigo
```

## Components

### Portal entry

- [React SPA](https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/index.html): `index.html`
- [Portal application](https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js): `assets/js/app.js`

### Learning programs

- [Five-level progression](https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js): `assets/js/app.js`
- [Youth engagement challenge](https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js): `assets/js/app.js`
- [Applied community project](https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js): `assets/js/app.js`
- [Civil Library](https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/app.js): `assets/js/app.js`

### Platform configuration

- [Environment configuration](https://github.com/bteducationministry/x9q-product-education-ministry-org/blob/main/assets/js/config.js): `assets/js/config.js`

### Other components

- **Portal visitor**
- **Backend API**
- **WordPress main site**
- **External login platform**
- **Stripe payments**

## Connections

- Portal visitor → React SPA: opens (evidence: `README.md`)
- React SPA → Portal application: hosts (evidence: `README.md`)
- Portal application → Five-level progression: offers
- Portal application → Youth engagement challenge: offers
- Portal application → Applied community project: offers
- Portal application → Civil Library: offers
- Environment configuration → Backend API: configures endpoint (evidence: `README.md`)
- Environment configuration → WordPress main site: configures link (evidence: `README.md`)
- Environment configuration → External login platform: configures link (evidence: `README.md`)
- React SPA → Stripe payments: loads library (evidence: `README.md`)
