# noahquagh/together architecture

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

- Interactive diagram: https://gitdiagram.com/noahquagh/together
- Repository: https://github.com/noahquagh/together

## Overview

Together is a PHP/MySQL collaborative project-management web app. Users enter through the landing or sign-in flow, then use the home dashboard, project workspace, and account area; project tabs cover tasks, Kanban, calendar, sprints, members, and insights. The README documents dashboard activity and notifications, project status filtering, profiles, authentication, and contributions. The graph reflects these documented capabilities and the sampled routing/API calls; unsampled feature implementations and their internal links are not asserted.

Main entry points: [`app/project.php`](https://github.com/noahquagh/together/blob/main/app/project.php) (Project workspace), [`includes/Session.php`](https://github.com/noahquagh/together/blob/main/includes/Session.php) (Session and access), [`app/home.php`](https://github.com/noahquagh/together/blob/main/app/home.php) (Home dashboard), [`app/user.php`](https://github.com/noahquagh/together/blob/main/app/user.php) (Account workspace)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and identity"]
  node_landing["Landing page<br/>[index.php]"]
  node_login["Sign-in and registration<br/>[login.php]"]
  node_signin["Sign-in handler<br/>[SignIn.php]"]
end

subgraph group_workspaces["Project workspaces"]
  node_home["Home dashboard<br/>[home.php]"]
  node_project["Project workspace<br/>[project.php]"]
  node_account["Account workspace<br/>[user.php]"]
end

subgraph group_features["Work and account features"]
  node_dashboard["Dashboard view<br/>[dashboard.php]"]
  node_projects["My projects<br/>[mesProjet.php]"]
  node_contributions["Contributions<br/>[contributions.php]"]
  node_overview["Project overview<br/>[overview.php]"]
  node_tasks["Project tasks<br/>[tasks.php]"]
  node_task_menu["Task controls"]
  node_kanban["Kanban board<br/>[kanban.php]"]
  node_calendar["Project calendar<br/>[calendar.php]"]
  node_sprints["Sprints<br/>[sprints.php]"]
  node_members["Project members<br/>[members.php]"]
  node_insights["Project insights<br/>[insights.php]"]
  node_profile["Profile settings<br/>[acnt.php]"]
  node_security["Security settings<br/>[security.php]"]
  node_notifications["Notifications"]
end

subgraph group_runtime["Shared runtime"]
  node_session["Session and access<br/>[Session.php]"]
  node_task_api["Project data loader<br/>[loadProject.php]"]
  node_database[("MySQL access")]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_landing
node_landing -->|"starts sign-in"| node_login
node_visitor -.->|"opens"| node_login
node_login -.->|"submits credentials"| node_signin
node_signin -->|"sets identity"| node_session
node_signin -->|"queries users"| node_database
node_home -->|"checks access"| node_session
node_home -->|"routes tabs"| node_dashboard
node_home -->|"routes tabs"| node_projects
node_home -->|"routes tabs"| node_contributions
node_project -->|"checks access"| node_session
node_project -->|"routes tabs"| node_overview
node_project -->|"routes tabs"| node_tasks
node_project -->|"routes tabs"| node_kanban
node_project -->|"routes tabs"| node_calendar
node_project -->|"routes tabs"| node_sprints
node_project -->|"routes tabs"| node_members
node_project -->|"routes tabs"| node_insights
node_tasks -->|"renders controls"| node_task_menu
node_tasks -->|"fetches project data"| node_task_api
node_task_api -->|"queries project"| node_database
node_task_api -->|"checks identity"| node_session
node_account -->|"checks access"| node_session
node_account -->|"routes settings"| node_profile
node_account -->|"routes settings"| node_security
node_account -->|"routes settings"| node_notifications
node_session -->|"checks project ownership"| node_database

click node_landing "https://github.com/noahquagh/together/blob/main/index.php"
click node_login "https://github.com/noahquagh/together/blob/main/auth/login.php"
click node_signin "https://github.com/noahquagh/together/blob/main/auth/SignIn.php"
click node_session "https://github.com/noahquagh/together/blob/main/includes/Session.php"
click node_home "https://github.com/noahquagh/together/blob/main/app/home.php"
click node_dashboard "https://github.com/noahquagh/together/blob/main/pages/dashboard.php"
click node_projects "https://github.com/noahquagh/together/blob/main/pages/mesProjet.php"
click node_contributions "https://github.com/noahquagh/together/blob/main/pages/contributions.php"
click node_project "https://github.com/noahquagh/together/blob/main/app/project.php"
click node_overview "https://github.com/noahquagh/together/blob/main/pages/overview.php"
click node_tasks "https://github.com/noahquagh/together/blob/main/pages/tasks.php"
click node_task_menu "https://github.com/noahquagh/together/blob/main/includes/sectionMenuTasks.php"
click node_kanban "https://github.com/noahquagh/together/blob/main/pages/kanban.php"
click node_calendar "https://github.com/noahquagh/together/blob/main/pages/calendar.php"
click node_sprints "https://github.com/noahquagh/together/blob/main/pages/sprints.php"
click node_members "https://github.com/noahquagh/together/blob/main/pages/members.php"
click node_insights "https://github.com/noahquagh/together/blob/main/pages/insights.php"
click node_task_api "https://github.com/noahquagh/together/blob/main/api/loader/loadProject.php"
click node_account "https://github.com/noahquagh/together/blob/main/app/user.php"
click node_profile "https://github.com/noahquagh/together/blob/main/pages/acnt.php"
click node_security "https://github.com/noahquagh/together/blob/main/pages/security.php"
click node_notifications "https://github.com/noahquagh/together/blob/main/pages/notificationsAcnt.php"
click node_database "https://github.com/noahquagh/together/blob/main/db/connexion_together_db.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_landing,node_login,node_signin toneBlue
class node_home,node_project,node_account toneAmber
class node_dashboard,node_projects,node_contributions,node_overview,node_tasks,node_task_menu,node_kanban,node_calendar,node_sprints,node_members,node_insights,node_profile,node_security,node_notifications toneMint
class node_session,node_task_api,node_database toneRose
class node_visitor toneIndigo
```

## Components

### Entry and identity

- [Landing page](https://github.com/noahquagh/together/blob/main/index.php): `index.php`
- [Sign-in and registration](https://github.com/noahquagh/together/blob/main/auth/login.php): `auth/login.php`
- [Sign-in handler](https://github.com/noahquagh/together/blob/main/auth/SignIn.php): `auth/SignIn.php`

### Project workspaces

- [Home dashboard](https://github.com/noahquagh/together/blob/main/app/home.php): `app/home.php`
- [Project workspace](https://github.com/noahquagh/together/blob/main/app/project.php): `app/project.php`
- [Account workspace](https://github.com/noahquagh/together/blob/main/app/user.php): `app/user.php`

### Work and account features

- [Dashboard view](https://github.com/noahquagh/together/blob/main/pages/dashboard.php): `pages/dashboard.php`
- [My projects](https://github.com/noahquagh/together/blob/main/pages/mesProjet.php): `pages/mesProjet.php`
- [Contributions](https://github.com/noahquagh/together/blob/main/pages/contributions.php): `pages/contributions.php`
- [Project overview](https://github.com/noahquagh/together/blob/main/pages/overview.php): `pages/overview.php`
- [Project tasks](https://github.com/noahquagh/together/blob/main/pages/tasks.php): `pages/tasks.php`
- [Task controls](https://github.com/noahquagh/together/blob/main/includes/sectionMenuTasks.php): `includes/sectionMenuTasks.php`
- [Kanban board](https://github.com/noahquagh/together/blob/main/pages/kanban.php): `pages/kanban.php`
- [Project calendar](https://github.com/noahquagh/together/blob/main/pages/calendar.php): `pages/calendar.php`
- [Sprints](https://github.com/noahquagh/together/blob/main/pages/sprints.php): `pages/sprints.php`
- [Project members](https://github.com/noahquagh/together/blob/main/pages/members.php): `pages/members.php`
- [Project insights](https://github.com/noahquagh/together/blob/main/pages/insights.php): `pages/insights.php`
- [Profile settings](https://github.com/noahquagh/together/blob/main/pages/acnt.php): `pages/acnt.php`
- [Security settings](https://github.com/noahquagh/together/blob/main/pages/security.php): `pages/security.php`
- [Notifications](https://github.com/noahquagh/together/blob/main/pages/notificationsAcnt.php): `pages/notificationsAcnt.php`

### Shared runtime

- [Session and access](https://github.com/noahquagh/together/blob/main/includes/Session.php): `includes/Session.php`
- [Project data loader](https://github.com/noahquagh/together/blob/main/api/loader/loadProject.php): `api/loader/loadProject.php`
- [MySQL access](https://github.com/noahquagh/together/blob/main/db/connexion_together_db.php): `db/connexion_together_db.php`

### Other components

- **Visitor**

## Connections

- Visitor → Landing page: opens (evidence: `index.php`)
- Landing page → Sign-in and registration: starts sign-in (evidence: `index.php`)
- Visitor → Sign-in and registration: opens
- Sign-in and registration → Sign-in handler: submits credentials (evidence: `auth/login.php`)
- Sign-in handler → Session and access: sets identity (evidence: `auth/SignIn.php`)
- Sign-in handler → MySQL access: queries users (evidence: `auth/SignIn.php`)
- Home dashboard → Session and access: checks access (evidence: `app/home.php`)
- Home dashboard → Dashboard view: routes tabs (evidence: `app/home.php`)
- Home dashboard → My projects: routes tabs (evidence: `app/home.php`)
- Home dashboard → Contributions: routes tabs (evidence: `app/home.php`)
- Project workspace → Session and access: checks access (evidence: `app/project.php`)
- Project workspace → Project overview: routes tabs (evidence: `app/project.php`)
- Project workspace → Project tasks: routes tabs (evidence: `app/project.php`)
- Project workspace → Kanban board: routes tabs (evidence: `app/project.php`)
- Project workspace → Project calendar: routes tabs (evidence: `app/project.php`)
- Project workspace → Sprints: routes tabs (evidence: `app/project.php`)
- Project workspace → Project members: routes tabs (evidence: `app/project.php`)
- Project workspace → Project insights: routes tabs (evidence: `app/project.php`)
- Project tasks → Task controls: renders controls (evidence: `pages/tasks.php`)
- Project tasks → Project data loader: fetches project data (evidence: `pages/tasks.php`)
- Project data loader → MySQL access: queries project (evidence: `api/loader/loadProject.php`)
- Project data loader → Session and access: checks identity (evidence: `api/loader/loadProject.php`)
- Account workspace → Session and access: checks access (evidence: `app/user.php`)
- Account workspace → Profile settings: routes settings (evidence: `app/user.php`)
- Account workspace → Security settings: routes settings (evidence: `app/user.php`)
- Account workspace → Notifications: routes settings (evidence: `app/user.php`)
- Session and access → MySQL access: checks project ownership (evidence: `includes/Session.php`)
