# mohammadibrahimjunaid9000-ship-it/nexora architecture

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

- Interactive diagram: https://gitdiagram.com/mohammadibrahimjunaid9000-ship-it/nexora
- Repository: https://github.com/mohammadibrahimjunaid9000-ship-it/nexora

## Overview

Nexora is a creator-and-learner platform for courses, live sessions, points, and collaboration. Learners and creators use the web interface, which calls the Flask API; the API handles identity and learning/session operations against the domain models, with Google Calendar as an optional live-session integration. The README also describes AI-driven collaboration networking, though its implementation is not present in the sampled source. The graph preserves that documented capability without asserting an unverified runtime connection.

Main entry points: [`backend/routes/api.py`](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py) (API routes), [`backend/app.py`](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/app.py) (Flask application), [`frontend/static/js/script.js`](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/frontend/static/js/script.js) (Web interface), [`backend/utils/google_calendar.py`](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/utils/google_calendar.py) (Calendar and Meet)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Web experience"]
  node_web_app["Web interface<br/>[script.js]"]
  node_web_views["Page templates<br/>[index.html]"]
end

subgraph group_learning["Learning platform"]
  node_course_content["Courses and lessons<br/>[api.py]"]
  node_learning_progress["Enrollment and progress<br/>[models.py]"]
  node_points["Points and rewards<br/>[api.py]"]
  node_collaboration["Collaboration networking"]
end

subgraph group_live["Live learning"]
  node_live_sessions["Live sessions<br/>[api.py]"]
  node_bookings_requests["Bookings and requests<br/>[api.py]"]
  node_calendar_integration["Calendar and Meet<br/>[google_calendar.py]"]
end

subgraph group_platform["Platform services"]
  node_flask_app["Flask application<br/>[app.py]"]
  node_api["API routes<br/>[api.py]"]
  node_identity["Identity and roles<br/>[auth.py]"]
  node_domain_models[("Domain records<br/>[models.py]")]
  node_configuration["Runtime configuration<br/>[config.py]"]
end

node_learners_creators(("Learners and creators"))
node_google(("Google Calendar"))

node_learners_creators -->|"use"| node_web_app
node_web_app -.->|"renders"| node_web_views
node_web_app -->|"requests"| node_api
node_flask_app -->|"serves"| node_web_views
node_flask_app -->|"registers"| node_api
node_flask_app -->|"loads"| node_configuration
node_flask_app -->|"initializes"| node_domain_models
node_api -->|"reads and writes"| node_domain_models
node_api -->|"calls"| node_identity
node_api -->|"calls"| node_calendar_integration
node_api -->|"routes"| node_course_content
node_api -.->|"routes"| node_learning_progress
node_api -.->|"routes"| node_points
node_api -->|"routes"| node_live_sessions
node_api -->|"routes"| node_bookings_requests
node_web_app -.->|"supports"| node_collaboration
node_calendar_integration -->|"creates events"| node_google

click node_web_app "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/frontend/static/js/script.js"
click node_web_views "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/frontend/templates/index.html"
click node_flask_app "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/app.py"
click node_api "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py"
click node_identity "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/utils/auth.py"
click node_domain_models "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/models/models.py"
click node_course_content "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py"
click node_learning_progress "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/models/models.py"
click node_points "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py"
click node_collaboration "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/tree/main/backend/ai"
click node_live_sessions "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py"
click node_bookings_requests "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py"
click node_calendar_integration "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/utils/google_calendar.py"
click node_configuration "https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/config.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_app,node_web_views toneBlue
class node_course_content,node_learning_progress,node_points,node_collaboration toneAmber
class node_live_sessions,node_bookings_requests,node_calendar_integration toneMint
class node_flask_app,node_api,node_identity,node_domain_models,node_configuration toneRose
class node_learners_creators,node_google toneIndigo
```

## Components

### Web experience

- [Web interface](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/frontend/static/js/script.js): `frontend/static/js/script.js`
- [Page templates](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/frontend/templates/index.html): `frontend/templates/index.html`

### Learning platform

- [Courses and lessons](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py): `backend/routes/api.py`
- [Enrollment and progress](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/models/models.py): `backend/models/models.py`
- [Points and rewards](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py): `backend/routes/api.py`
- [Collaboration networking](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/tree/main/backend/ai): `backend/ai`

### Live learning

- [Live sessions](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py): `backend/routes/api.py`
- [Bookings and requests](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py): `backend/routes/api.py`
- [Calendar and Meet](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/utils/google_calendar.py): `backend/utils/google_calendar.py`

### Platform services

- [Flask application](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/app.py): `backend/app.py`
- [API routes](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/routes/api.py): `backend/routes/api.py`
- [Identity and roles](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/utils/auth.py): `backend/utils/auth.py`
- [Domain records](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/models/models.py): `backend/models/models.py`
- [Runtime configuration](https://github.com/mohammadibrahimjunaid9000-ship-it/nexora/blob/main/backend/config.py): `backend/config.py`

### Other components

- **Learners and creators**
- **Google Calendar**

## Connections

- Learners and creators → Web interface: use (evidence: `README.md`)
- Web interface → Page templates: renders
- Web interface → API routes: requests (evidence: `frontend/static/js/script.js`)
- Flask application → Page templates: serves (evidence: `backend/app.py`)
- Flask application → API routes: registers (evidence: `backend/app.py`)
- Flask application → Runtime configuration: loads (evidence: `backend/app.py`)
- Flask application → Domain records: initializes (evidence: `backend/app.py`)
- API routes → Domain records: reads and writes (evidence: `backend/routes/api.py`)
- API routes → Identity and roles: calls (evidence: `backend/routes/api.py`)
- API routes → Calendar and Meet: calls (evidence: `backend/routes/api.py`)
- API routes → Courses and lessons: routes (evidence: `backend/routes/api.py`)
- API routes → Enrollment and progress: routes (evidence: `backend/routes/api.py`)
- API routes → Points and rewards: routes (evidence: `backend/routes/api.py`)
- API routes → Live sessions: routes (evidence: `backend/routes/api.py`)
- API routes → Bookings and requests: routes (evidence: `backend/routes/api.py`)
- Web interface → Collaboration networking: supports
- Calendar and Meet → Google Calendar: creates events (evidence: `backend/utils/google_calendar.py`)
