# raghaddeveloper/lms-admin-dashboard architecture

> Architecture diagram of the GitHub repository raghaddeveloper/lms-admin-dashboard, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/raghaddeveloper/lms-admin-dashboard
- Repository: https://github.com/raghaddeveloper/lms-admin-dashboard

## Overview

This is a React/Redux admin portal for NEXORA Academy, with authentication and operational views for courses, learners, communications, reporting, and subscriptions. The main workflow is an administrator signing in, entering the protected portal, and using its routed views to review or manage LMS data. Feature state and async actions form the internal layer between pages and API modules. Several domain pages and feature modules are listed but not excerpted, so their relationships are shown only where the excerpts or SOURCE INDEX support them.

Main entry points: [`src/App.jsx`](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/App.jsx) (Route shell), [`src/app/store.js`](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/app/store.js) (Redux store), [`src/features/auth/authThunks.js`](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/auth/authThunks.js) (Authentication actions), [`src/pages/MainPage/MainPage.jsx`](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/MainPage/MainPage.jsx) (Portal layout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Portal entry"]
  node_app["Route shell<br/>[App.jsx]"]
  node_login["Login<br/>[Login.jsx]"]
  node_verification["Verification<br/>[Verification.jsx]"]
  node_main["Portal layout<br/>[MainPage.jsx]"]
end

subgraph group_learning["Learning management"]
  node_courses["Course catalogue<br/>[Courses.jsx]"]
  node_course_details["Course review<br/>[CourseInfo.jsx]"]
  node_lessons["Lessons and files<br/>[lessonsThunk.js]"]
  node_quiz["Quizzes<br/>[quizSlice.js]"]
end

subgraph group_operations["Admin operations"]
  node_dashboard["Dashboard<br/>[Dashboard.jsx]"]
  node_users["User administration<br/>[Users.jsx]"]
  node_subscriptions["Subscriptions<br/>[Subscriptions.jsx]"]
  node_messages["Messages<br/>[Messages.jsx]"]
  node_notifications["Notifications<br/>[Notifications.jsx]"]
  node_reports["Reports<br/>[Reports.jsx]"]
  node_statistics["Statistics<br/>[statisticsThunk.js]"]
end

subgraph group_foundation["State and data"]
  node_auth_state["Authentication state<br/>[authSlice.js]"]
  node_auth_actions["Authentication actions<br/>[authThunks.js]"]
  node_auth_api["Authentication API<br/>[authAPI.js]"]
  node_redux["Redux store<br/>[store.js]"]
end

node_admin(("Administrator"))
node_browser_storage[("Browser storage")]

node_admin -->|"signs in"| node_login
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_verification
node_app -->|"routes to"| node_main
node_main -->|"renders"| node_dashboard
node_app -->|"routes to"| node_courses
node_app -->|"routes to"| node_course_details
node_app -->|"routes to"| node_users
node_app -->|"routes to"| node_subscriptions
node_app -->|"routes to"| node_messages
node_app -->|"routes to"| node_notifications
node_app -->|"routes to"| node_reports
node_login -->|"dispatches"| node_auth_actions
node_verification -->|"dispatches"| node_auth_actions
node_auth_actions -->|"calls"| node_auth_api
node_auth_state -->|"handles results"| node_auth_actions
node_auth_actions -->|"stores credentials"| node_browser_storage
node_app -->|"restores session"| node_auth_state
node_redux -->|"registers reducer"| node_auth_state
node_redux -->|"registers reducer"| node_courses
node_redux -->|"registers reducer"| node_lessons
node_redux -->|"registers reducer"| node_quiz
node_redux -->|"registers reducer"| node_users
node_redux -->|"registers reducer"| node_subscriptions
node_redux -->|"registers reducer"| node_messages
node_redux -->|"registers reducer"| node_notifications
node_redux -->|"registers reducer"| node_reports
node_redux -->|"registers reducer"| node_statistics
node_main -->|"dispatches"| node_statistics
node_course_details -->|"loads profiles"| node_users

click node_app "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/App.jsx"
click node_login "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Login/Login.jsx"
click node_verification "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Verification/Verification.jsx"
click node_main "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/MainPage/MainPage.jsx"
click node_dashboard "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Dashboard/Dashboard.jsx"
click node_courses "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Courses/Courses.jsx"
click node_course_details "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/components/CourseInfo/CourseInfo.jsx"
click node_lessons "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/lessons/lessonsThunk.js"
click node_quiz "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/quiz/quizSlice.js"
click node_users "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Users/Users.jsx"
click node_subscriptions "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Subscriptions/Subscriptions.jsx"
click node_messages "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Messages/Messages.jsx"
click node_notifications "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Notifications/Notifications.jsx"
click node_reports "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Reports/Reports.jsx"
click node_statistics "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/statistics/statisticsThunk.js"
click node_auth_state "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/auth/authSlice.js"
click node_auth_actions "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/auth/authThunks.js"
click node_auth_api "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/auth/authAPI.js"
click node_redux "https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/app/store.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_app,node_login,node_verification,node_main toneBlue
class node_courses,node_course_details,node_lessons,node_quiz,node_browser_storage toneAmber
class node_dashboard,node_users,node_subscriptions,node_messages,node_notifications,node_reports,node_statistics toneMint
class node_auth_state,node_auth_actions,node_auth_api,node_redux toneRose
class node_admin toneIndigo
```

## Components

### Portal entry

- [Route shell](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/App.jsx): `src/App.jsx`
- [Login](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Login/Login.jsx): `src/pages/Login/Login.jsx`
- [Verification](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Verification/Verification.jsx): `src/pages/Verification/Verification.jsx`
- [Portal layout](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/MainPage/MainPage.jsx): `src/pages/MainPage/MainPage.jsx`

### Learning management

- [Course catalogue](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Courses/Courses.jsx): `src/pages/Courses/Courses.jsx`
- [Course review](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/components/CourseInfo/CourseInfo.jsx): `src/components/CourseInfo/CourseInfo.jsx`
- [Lessons and files](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/lessons/lessonsThunk.js): `src/features/lessons/lessonsThunk.js`
- [Quizzes](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/quiz/quizSlice.js): `src/features/quiz/quizSlice.js`

### Admin operations

- [Dashboard](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Dashboard/Dashboard.jsx): `src/pages/Dashboard/Dashboard.jsx`
- [User administration](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Users/Users.jsx): `src/pages/Users/Users.jsx`
- [Subscriptions](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Subscriptions/Subscriptions.jsx): `src/pages/Subscriptions/Subscriptions.jsx`
- [Messages](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Messages/Messages.jsx): `src/pages/Messages/Messages.jsx`
- [Notifications](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Notifications/Notifications.jsx): `src/pages/Notifications/Notifications.jsx`
- [Reports](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/pages/Reports/Reports.jsx): `src/pages/Reports/Reports.jsx`
- [Statistics](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/statistics/statisticsThunk.js): `src/features/statistics/statisticsThunk.js`

### State and data

- [Authentication state](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/auth/authSlice.js): `src/features/auth/authSlice.js`
- [Authentication actions](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/auth/authThunks.js): `src/features/auth/authThunks.js`
- [Authentication API](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/features/auth/authAPI.js): `src/features/auth/authAPI.js`
- [Redux store](https://github.com/raghaddeveloper/lms-admin-dashboard/blob/main/src/app/store.js): `src/app/store.js`

### Other components

- **Administrator**
- **Browser storage**

## Connections

- Administrator → Login: signs in (evidence: `src/pages/Login/Login.jsx`)
- Route shell → Login: routes to (evidence: `src/App.jsx`)
- Route shell → Verification: routes to (evidence: `src/App.jsx`)
- Route shell → Portal layout: routes to (evidence: `src/App.jsx`)
- Portal layout → Dashboard: renders (evidence: `src/App.jsx`)
- Route shell → Course catalogue: routes to (evidence: `src/App.jsx`)
- Route shell → Course review: routes to (evidence: `src/App.jsx`)
- Route shell → User administration: routes to (evidence: `src/App.jsx`)
- Route shell → Subscriptions: routes to (evidence: `src/App.jsx`)
- Route shell → Messages: routes to (evidence: `src/App.jsx`)
- Route shell → Notifications: routes to (evidence: `src/App.jsx`)
- Route shell → Reports: routes to (evidence: `src/App.jsx`)
- Login → Authentication actions: dispatches (evidence: `src/pages/Login/Login.jsx`)
- Verification → Authentication actions: dispatches (evidence: `src/pages/Verification/Verification.jsx`)
- Authentication actions → Authentication API: calls (evidence: `src/features/auth/authThunks.js`)
- Authentication state → Authentication actions: handles results (evidence: `src/features/auth/authSlice.js`)
- Authentication actions → Browser storage: stores credentials (evidence: `src/features/auth/authThunks.js`)
- Route shell → Authentication state: restores session (evidence: `src/App.jsx`)
- Redux store → Authentication state: registers reducer (evidence: `src/app/store.js`)
- Redux store → Course catalogue: registers reducer (evidence: `src/app/store.js`)
- Redux store → Lessons and files: registers reducer (evidence: `src/app/store.js`)
- Redux store → Quizzes: registers reducer (evidence: `src/app/store.js`)
- Redux store → User administration: registers reducer (evidence: `src/app/store.js`)
- Redux store → Subscriptions: registers reducer (evidence: `src/app/store.js`)
- Redux store → Messages: registers reducer (evidence: `src/app/store.js`)
- Redux store → Notifications: registers reducer (evidence: `src/app/store.js`)
- Redux store → Reports: registers reducer (evidence: `src/app/store.js`)
- Redux store → Statistics: registers reducer (evidence: `src/app/store.js`)
- Portal layout → Statistics: dispatches (evidence: `src/pages/MainPage/MainPage.jsx`)
- Course review → User administration: loads profiles (evidence: `src/components/CourseInfo/CourseInfo.jsx`)
