# marufkhm/projectmendflow architecture

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

- Interactive diagram: https://gitdiagram.com/marufkhm/projectmendflow
- Repository: https://github.com/marufkhm/projectmendflow

## Overview

Mendflow is a planned student–company–university platform combining account verification, projects and responses, a recommendation feed, public profiles, and reporting. The documented end-to-end path is registration, email code, login, project, post, response, repeat login, and a public page. The tree contains only placeholder files, so this graph reflects README-described capabilities and directory ownership, not verified runtime calls; relationships are shown only where the README documents them.

Main entry points: [`api`](https://github.com/marufkhm/projectmendflow/tree/main/api) (Registration), [`js`](https://github.com/marufkhm/projectmendflow/tree/main/js) (Recommendation feed), [`sql`](https://github.com/marufkhm/projectmendflow/tree/main/sql) (Database), [`deploy`](https://github.com/marufkhm/projectmendflow/tree/main/deploy) (Backup)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Access and identity"]
  node_registration["Registration"]
  node_email_code["Email code"]
  node_login["Login"]
end

subgraph group_marketplace["Projects and profiles"]
  node_projects["Projects"]
  node_posts["Posts"]
  node_responses["Responses"]
  node_public_pages["Public pages"]
end

subgraph group_discovery["Feed and reporting"]
  node_feed["Recommendation feed"]
  node_feed_metrics["Feed metrics"]
end

subgraph group_platform["Data and optional development"]
  node_database[("Database")]
  node_backup["Backup"]
  node_pda["PDA development"]
end

node_visitor(("Visitor"))
node_student(("Student"))
node_company(("Company"))
node_university(("University"))
node_mail_service["Email service"]

node_student -->|"registers"| node_registration
node_company -->|"registers"| node_registration
node_university -->|"registers"| node_registration
node_registration -->|"requires confirmation"| node_email_code
node_registration -->|"sends code"| node_mail_service
node_student -->|"logs in"| node_login
node_company -->|"logs in"| node_login
node_university -->|"logs in"| node_login
node_login -->|"continues to"| node_projects
node_projects -->|"creates post"| node_posts
node_posts -->|"receives response"| node_responses
node_visitor -->|"opens without login"| node_public_pages
node_student -->|"views recommendations"| node_feed
node_feed -->|"measures"| node_feed_metrics
node_database -->|"backs up"| node_backup
node_pda -.->|"supports development"| node_student

click node_registration "https://github.com/marufkhm/projectmendflow/tree/main/api"
click node_email_code "https://github.com/marufkhm/projectmendflow/tree/main/api"
click node_login "https://github.com/marufkhm/projectmendflow/tree/main/api"
click node_projects "https://github.com/marufkhm/projectmendflow/tree/main/api"
click node_posts "https://github.com/marufkhm/projectmendflow/tree/main/api"
click node_responses "https://github.com/marufkhm/projectmendflow/tree/main/api"
click node_public_pages "https://github.com/marufkhm/projectmendflow/tree/main/js"
click node_feed "https://github.com/marufkhm/projectmendflow/tree/main/js"
click node_feed_metrics "https://github.com/marufkhm/projectmendflow/tree/main/api"
click node_database "https://github.com/marufkhm/projectmendflow/tree/main/sql"
click node_backup "https://github.com/marufkhm/projectmendflow/tree/main/deploy"
click node_pda "https://github.com/marufkhm/projectmendflow/tree/main/api"

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_registration,node_email_code,node_login toneBlue
class node_projects,node_posts,node_responses,node_public_pages toneAmber
class node_feed,node_feed_metrics toneMint
class node_database,node_backup,node_pda toneRose
class node_visitor,node_student,node_company,node_university,node_mail_service toneIndigo
```

## Components

### Access and identity

- [Registration](https://github.com/marufkhm/projectmendflow/tree/main/api): `api`
- [Email code](https://github.com/marufkhm/projectmendflow/tree/main/api): `api`
- [Login](https://github.com/marufkhm/projectmendflow/tree/main/api): `api`

### Projects and profiles

- [Projects](https://github.com/marufkhm/projectmendflow/tree/main/api): `api`
- [Posts](https://github.com/marufkhm/projectmendflow/tree/main/api): `api`
- [Responses](https://github.com/marufkhm/projectmendflow/tree/main/api): `api`
- [Public pages](https://github.com/marufkhm/projectmendflow/tree/main/js): `js`

### Feed and reporting

- [Recommendation feed](https://github.com/marufkhm/projectmendflow/tree/main/js): `js`
- [Feed metrics](https://github.com/marufkhm/projectmendflow/tree/main/api): `api`

### Data and optional development

- [Database](https://github.com/marufkhm/projectmendflow/tree/main/sql): `sql`
- [Backup](https://github.com/marufkhm/projectmendflow/tree/main/deploy): `deploy`
- [PDA development](https://github.com/marufkhm/projectmendflow/tree/main/api): `api`

### Other components

- **Visitor**
- **Student**
- **Company**
- **University**
- **Email service**

## Connections

- Student → Registration: registers (evidence: `README.md`)
- Company → Registration: registers (evidence: `README.md`)
- University → Registration: registers (evidence: `README.md`)
- Registration → Email code: requires confirmation (evidence: `README.md`)
- Registration → Email service: sends code (evidence: `README.md`)
- Student → Login: logs in (evidence: `README.md`)
- Company → Login: logs in (evidence: `README.md`)
- University → Login: logs in (evidence: `README.md`)
- Login → Projects: continues to (evidence: `README.md`)
- Projects → Posts: creates post (evidence: `README.md`)
- Posts → Responses: receives response (evidence: `README.md`)
- Visitor → Public pages: opens without login (evidence: `README.md`)
- Student → Recommendation feed: views recommendations (evidence: `README.md`)
- Recommendation feed → Feed metrics: measures (evidence: `README.md`)
- Database → Backup: backs up (evidence: `README.md`)
- PDA development → Student: supports development (evidence: `README.md`)
