# davidmumo/grants-application-tracking-system architecture

> Architecture diagram of the GitHub repository davidmumo/grants-application-tracking-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/davidmumo/grants-application-tracking-system
- Repository: https://github.com/davidmumo/grants-application-tracking-system

## Overview

This is a PHP grants and collaboration-application tracking system. Researchers can browse grant opportunities or collaboration calls, submit applications, and view their applications; administrators manage opportunities, users, and application decisions. The graph groups the page-level features around those domain stages and the shared MySQL connection. The README offers no further product detail, and some behavior is inferred from filenames and the source index; only shown calls, links, and imports are connected.

Main entry points: [`db_connect.php`](https://github.com/davidmumo/grants-application-tracking-system/blob/main/db_connect.php) (MySQL database), [`dashboard.php`](https://github.com/davidmumo/grants-application-tracking-system/blob/main/dashboard.php) (Researcher dashboard), [`manage_collaboration_applications.php`](https://github.com/davidmumo/grants-application-tracking-system/blob/main/manage_collaboration_applications.php) (Review collaboration applications), [`login.php`](https://github.com/davidmumo/grants-application-tracking-system/blob/main/login.php) (Sign in)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and workspace"]
  node_login["Sign in<br/>[login.php]"]
  node_registration["Registration<br/>[register.php]"]
  node_workspace["Researcher dashboard<br/>[dashboard.php]"]
  node_navigation["Navigation<br/>[navbar.php]"]
  node_profile["Profile and password<br/>[profile.php]"]
  node_profile_edit["Profile updates<br/>[edit_profile.php]"]
end

subgraph group_grants["Grant opportunities"]
  node_grants_browse["Browse grants<br/>[view_grants.php]"]
  node_grant_apply["Apply for grant<br/>[apply_grant.php]"]
  node_my_applications["My applications"]
  node_grant_admin["Grant administration<br/>[manage_grants.php]"]
  node_grant_create["Add grant<br/>[add_grant.php]"]
end

subgraph group_collab["Collaboration workflow"]
  node_calls_browse["Browse calls<br/>[view_calls.php]"]
  node_call_create["Create call<br/>[create_call.php]"]
  node_call_apply["Apply to call<br/>[apply_call.php]"]
  node_call_admin["Call administration<br/>[manage_calls.php]"]
  node_collab_admin["Review collaboration applications"]
  node_decision["Shortlist or reject"]
end

subgraph group_admin["Administration"]
  node_admin_workspace["Admin dashboard"]
  node_user_admin["User administration<br/>[manage_users.php]"]
end

subgraph group_data["Shared data"]
  node_mysql[("MySQL database<br/>[db_connect.php]")]
end

node_researcher(("Researcher"))
node_administrator(("Administrator"))

node_researcher -->|"signs in"| node_login
node_researcher -.->|"registers"| node_registration
node_workspace -->|"includes"| node_navigation
node_researcher -.->|"opens"| node_workspace
node_administrator -.->|"opens"| node_admin_workspace
node_login -->|"queries"| node_mysql
node_registration -->|"writes"| node_mysql
node_workspace -->|"queries"| node_mysql
node_grants_browse -->|"reads"| node_mysql
node_grant_apply -->|"writes"| node_mysql
node_my_applications -->|"reads"| node_mysql
node_grant_admin -.->|"queries"| node_mysql
node_grant_create -->|"inserts"| node_mysql
node_calls_browse -->|"reads"| node_mysql
node_call_create -->|"writes"| node_mysql
node_call_apply -->|"writes"| node_mysql
node_call_admin -->|"queries"| node_mysql
node_collab_admin -->|"queries"| node_mysql
node_collab_admin -->|"links to"| node_decision
node_decision -->|"updates"| node_mysql
node_admin_workspace -->|"queries"| node_mysql
node_user_admin -.->|"queries"| node_mysql
node_profile -->|"reads"| node_mysql
node_profile_edit -->|"updates"| node_mysql

click node_login "https://github.com/davidmumo/grants-application-tracking-system/blob/main/login.php"
click node_registration "https://github.com/davidmumo/grants-application-tracking-system/blob/main/register.php"
click node_workspace "https://github.com/davidmumo/grants-application-tracking-system/blob/main/dashboard.php"
click node_navigation "https://github.com/davidmumo/grants-application-tracking-system/blob/main/navbar.php"
click node_profile "https://github.com/davidmumo/grants-application-tracking-system/blob/main/profile.php"
click node_profile_edit "https://github.com/davidmumo/grants-application-tracking-system/blob/main/edit_profile.php"
click node_grants_browse "https://github.com/davidmumo/grants-application-tracking-system/blob/main/view_grants.php"
click node_grant_apply "https://github.com/davidmumo/grants-application-tracking-system/blob/main/apply_grant.php"
click node_my_applications "https://github.com/davidmumo/grants-application-tracking-system/blob/main/my_applications.php"
click node_grant_admin "https://github.com/davidmumo/grants-application-tracking-system/blob/main/manage_grants.php"
click node_grant_create "https://github.com/davidmumo/grants-application-tracking-system/blob/main/add_grant.php"
click node_calls_browse "https://github.com/davidmumo/grants-application-tracking-system/blob/main/view_calls.php"
click node_call_create "https://github.com/davidmumo/grants-application-tracking-system/blob/main/create_call.php"
click node_call_apply "https://github.com/davidmumo/grants-application-tracking-system/blob/main/apply_call.php"
click node_call_admin "https://github.com/davidmumo/grants-application-tracking-system/blob/main/manage_calls.php"
click node_collab_admin "https://github.com/davidmumo/grants-application-tracking-system/blob/main/manage_collaboration_applications.php"
click node_decision "https://github.com/davidmumo/grants-application-tracking-system/blob/main/shortlist_application.php"
click node_admin_workspace "https://github.com/davidmumo/grants-application-tracking-system/blob/main/admin_dashboard.php"
click node_user_admin "https://github.com/davidmumo/grants-application-tracking-system/blob/main/manage_users.php"
click node_mysql "https://github.com/davidmumo/grants-application-tracking-system/blob/main/db_connect.php"

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_login,node_registration,node_workspace,node_navigation,node_profile,node_profile_edit toneBlue
class node_grants_browse,node_grant_apply,node_my_applications,node_grant_admin,node_grant_create toneAmber
class node_calls_browse,node_call_create,node_call_apply,node_call_admin,node_collab_admin,node_decision toneMint
class node_admin_workspace,node_user_admin toneRose
class node_mysql,node_researcher,node_administrator toneIndigo
```

## Components

### Access and workspace

- [Sign in](https://github.com/davidmumo/grants-application-tracking-system/blob/main/login.php): `login.php`
- [Registration](https://github.com/davidmumo/grants-application-tracking-system/blob/main/register.php): `register.php`
- [Researcher dashboard](https://github.com/davidmumo/grants-application-tracking-system/blob/main/dashboard.php): `dashboard.php`
- [Navigation](https://github.com/davidmumo/grants-application-tracking-system/blob/main/navbar.php): `navbar.php`
- [Profile and password](https://github.com/davidmumo/grants-application-tracking-system/blob/main/profile.php): `profile.php`
- [Profile updates](https://github.com/davidmumo/grants-application-tracking-system/blob/main/edit_profile.php): `edit_profile.php`

### Grant opportunities

- [Browse grants](https://github.com/davidmumo/grants-application-tracking-system/blob/main/view_grants.php): `view_grants.php`
- [Apply for grant](https://github.com/davidmumo/grants-application-tracking-system/blob/main/apply_grant.php): `apply_grant.php`
- [My applications](https://github.com/davidmumo/grants-application-tracking-system/blob/main/my_applications.php): `my_applications.php`
- [Grant administration](https://github.com/davidmumo/grants-application-tracking-system/blob/main/manage_grants.php): `manage_grants.php`
- [Add grant](https://github.com/davidmumo/grants-application-tracking-system/blob/main/add_grant.php): `add_grant.php`

### Collaboration workflow

- [Browse calls](https://github.com/davidmumo/grants-application-tracking-system/blob/main/view_calls.php): `view_calls.php`
- [Create call](https://github.com/davidmumo/grants-application-tracking-system/blob/main/create_call.php): `create_call.php`
- [Apply to call](https://github.com/davidmumo/grants-application-tracking-system/blob/main/apply_call.php): `apply_call.php`
- [Call administration](https://github.com/davidmumo/grants-application-tracking-system/blob/main/manage_calls.php): `manage_calls.php`
- [Review collaboration applications](https://github.com/davidmumo/grants-application-tracking-system/blob/main/manage_collaboration_applications.php): `manage_collaboration_applications.php`
- [Shortlist or reject](https://github.com/davidmumo/grants-application-tracking-system/blob/main/shortlist_application.php): `shortlist_application.php`

### Administration

- [Admin dashboard](https://github.com/davidmumo/grants-application-tracking-system/blob/main/admin_dashboard.php): `admin_dashboard.php`
- [User administration](https://github.com/davidmumo/grants-application-tracking-system/blob/main/manage_users.php): `manage_users.php`

### Shared data

- [MySQL database](https://github.com/davidmumo/grants-application-tracking-system/blob/main/db_connect.php): `db_connect.php`

### Other components

- **Researcher**
- **Administrator**

## Connections

- Researcher → Sign in: signs in (evidence: `login.php`)
- Researcher → Registration: registers
- Researcher dashboard → Navigation: includes (evidence: `dashboard.php`)
- Researcher → Researcher dashboard: opens
- Administrator → Admin dashboard: opens
- Sign in → MySQL database: queries (evidence: `login.php`)
- Registration → MySQL database: writes (evidence: `register.php`)
- Researcher dashboard → MySQL database: queries (evidence: `dashboard.php`)
- Browse grants → MySQL database: reads (evidence: `view_grants.php`)
- Apply for grant → MySQL database: writes (evidence: `apply_grant.php`)
- My applications → MySQL database: reads (evidence: `my_applications.php`)
- Grant administration → MySQL database: queries (evidence: `manage_grants.php`)
- Add grant → MySQL database: inserts (evidence: `add_grant.php`)
- Browse calls → MySQL database: reads (evidence: `view_calls.php`)
- Create call → MySQL database: writes (evidence: `create_call.php`)
- Apply to call → MySQL database: writes (evidence: `apply_call.php`)
- Call administration → MySQL database: queries (evidence: `manage_calls.php`)
- Review collaboration applications → MySQL database: queries (evidence: `manage_collaboration_applications.php`)
- Review collaboration applications → Shortlist or reject: links to (evidence: `manage_collaboration_applications.php`)
- Shortlist or reject → MySQL database: updates (evidence: `shortlist_application.php`)
- Admin dashboard → MySQL database: queries (evidence: `admin_dashboard.php`)
- User administration → MySQL database: queries (evidence: `manage_users.php`)
- Profile and password → MySQL database: reads (evidence: `profile.php`)
- Profile updates → MySQL database: updates (evidence: `edit_profile.php`)
