# catmiih/search-devs_base architecture

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

- Interactive diagram: https://gitdiagram.com/catmiih/search-devs_base
- Repository: https://github.com/catmiih/search-devs_base

## Overview

Search Devs is a PHP/MySQL talent matchmaking platform serving developers seeking projects and companies seeking technical talent. Developers register, select work areas, and maintain skills and profiles; companies create projects with skill and area requirements, then review ranked candidate matches or search profiles. Company dashboards also support project and candidate decisions. The README documents weighted matching and dynamic search; sampled code confirms parts of search, project matching, and account flows. Several dashboard branches and profile capabilities are represented from the tree and documented product scope, not fully inspected source.

Main entry points: [`front/company/dashboard.php`](https://github.com/catmiih/search-devs_base/blob/main/front/company/dashboard.php) (Company Dashboard), [`front/register-login.php`](https://github.com/catmiih/search-devs_base/blob/main/front/register-login.php) (Login and Registration), [`back/class/project.php`](https://github.com/catmiih/search-devs_base/blob/main/back/class/project.php) (Project Operations), [`back/class/user.php`](https://github.com/catmiih/search-devs_base/blob/main/back/class/user.php) (Developer Operations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_accounts["Accounts and Profiles"]
  node_registration["Account Registration<br/>[developer.php]"]
  node_account_auth["Login and Registration<br/>[register-login.php]"]
  node_developer_setup["Developer Setup<br/>[select-fields.php]"]
  node_developer_profile["Developer Profiles<br/>[edit-profile.php]"]
  node_company_profile["Company Profiles<br/>[edit-profile.php]"]
  node_dev_dashboard["Developer Dashboard<br/>[dashboard.php]"]
end

subgraph group_projects["Project Management"]
  node_company_dashboard["Company Dashboard<br/>[dashboard.php]"]
  node_project_create["Create Project<br/>[createproj.php]"]
  node_project_skills["Project Skills<br/>[skills.php]"]
  node_project_edit["Edit Project<br/>[edit-project.php]"]
  node_project_details["Project Details<br/>[details.php]"]
  node_project_logic["Project Operations<br/>[project.php]"]
  node_project_submit["Project Submission<br/>[createproj.php]"]
end

subgraph group_matching["Talent Discovery"]
  node_company_project_match["Project Match Request<br/>[ideal-proj.php]"]
  node_candidate_search_ui["Candidate Search<br/>[search.php]"]
  node_candidate_search["Search Handler<br/>[search.php]"]
  node_match_filter["Candidate Scoring<br/>[project_add.php]"]
  node_filter_rules["Match Rules<br/>[filter_func.php]"]
end

subgraph group_persistence["Application Data"]
  node_developer_logic["Developer Operations<br/>[user.php]"]
  node_company_logic["Company Operations<br/>[company.php]"]
  node_mysql[("MySQL Database")]
  node_email["Email Service"]
end

node_developer(("Developer"))
node_company_actor(("Company"))

node_developer -->|"registers"| node_registration
node_company_actor -.->|"creates account"| node_account_auth
node_developer -.->|"signs in"| node_account_auth
node_registration -.->|"submits registration"| node_developer_logic
node_registration -->|"posts credentials"| node_account_auth
node_account_auth -.->|"authenticates"| node_developer_logic
node_developer_logic -->|"redirects for areas"| node_developer_setup
node_developer -.->|"updates profile"| node_developer_profile
node_company_actor -.->|"updates profile"| node_company_profile
node_company_actor -->|"manages hiring"| node_company_dashboard
node_company_dashboard -->|"routes search"| node_candidate_search_ui
node_candidate_search_ui -->|"posts query"| node_candidate_search
node_candidate_search -->|"queries profiles"| node_developer_logic
node_candidate_search -->|"reads candidates"| node_mysql
node_company_dashboard -->|"routes creation"| node_project_create
node_project_create -.->|"sets requirements"| node_project_skills
node_project_skills -->|"submits project"| node_project_submit
node_project_submit -->|"creates project"| node_project_logic
node_project_logic -->|"reads and writes"| node_mysql
node_company_dashboard -->|"routes editing"| node_project_edit
node_company_dashboard -->|"routes details"| node_project_details
node_company_actor -.->|"requests matches"| node_company_project_match
node_company_project_match -->|"requests ideal developers"| node_project_logic
node_project_logic -->|"loads candidate scoring"| node_match_filter
node_match_filter -->|"scores candidates"| node_filter_rules
node_match_filter -->|"reads and ranks"| node_mysql
node_company_dashboard -->|"records candidate decisions"| node_project_logic
node_developer_logic -->|"reads and writes"| node_mysql
node_company_logic -->|"reads and writes"| node_mysql
node_developer -.->|"views opportunities"| node_dev_dashboard
node_dev_dashboard -.->|"views matched projects"| node_company_project_match
node_account_auth -.->|"may send confirmation"| node_email

click node_registration "https://github.com/catmiih/search-devs_base/blob/main/front/developer.php"
click node_account_auth "https://github.com/catmiih/search-devs_base/blob/main/front/register-login.php"
click node_developer_setup "https://github.com/catmiih/search-devs_base/blob/main/front/user/select-fields.php"
click node_developer_profile "https://github.com/catmiih/search-devs_base/blob/main/front/user/pages/edit-profile.php"
click node_company_profile "https://github.com/catmiih/search-devs_base/blob/main/front/company/pages/edit-profile.php"
click node_dev_dashboard "https://github.com/catmiih/search-devs_base/blob/main/front/user/dashboard.php"
click node_company_dashboard "https://github.com/catmiih/search-devs_base/blob/main/front/company/dashboard.php"
click node_project_create "https://github.com/catmiih/search-devs_base/blob/main/front/company/pages/createproj.php"
click node_project_skills "https://github.com/catmiih/search-devs_base/blob/main/front/company/skills.php"
click node_project_edit "https://github.com/catmiih/search-devs_base/blob/main/front/company/pages/edit-project.php"
click node_project_details "https://github.com/catmiih/search-devs_base/blob/main/front/company/pages/details.php"
click node_project_logic "https://github.com/catmiih/search-devs_base/blob/main/back/class/project.php"
click node_project_submit "https://github.com/catmiih/search-devs_base/blob/main/front/functions/createproj.php"
click node_company_project_match "https://github.com/catmiih/search-devs_base/blob/main/front/functions/ideal-proj.php"
click node_candidate_search_ui "https://github.com/catmiih/search-devs_base/blob/main/front/company/pages/search.php"
click node_candidate_search "https://github.com/catmiih/search-devs_base/blob/main/front/functions/search.php"
click node_match_filter "https://github.com/catmiih/search-devs_base/blob/main/back/filter/project_add.php"
click node_filter_rules "https://github.com/catmiih/search-devs_base/blob/main/back/filter/filter_func.php"
click node_developer_logic "https://github.com/catmiih/search-devs_base/blob/main/back/class/user.php"
click node_company_logic "https://github.com/catmiih/search-devs_base/blob/main/back/class/company.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_registration,node_account_auth,node_developer_setup,node_developer_profile,node_company_profile,node_dev_dashboard toneBlue
class node_company_dashboard,node_project_create,node_project_skills,node_project_edit,node_project_details,node_project_logic,node_project_submit toneAmber
class node_company_project_match,node_candidate_search_ui,node_candidate_search,node_match_filter,node_filter_rules toneMint
class node_developer_logic,node_company_logic,node_mysql,node_email toneRose
class node_developer,node_company_actor toneIndigo
```

## Components

### Accounts and Profiles

- [Account Registration](https://github.com/catmiih/search-devs_base/blob/main/front/developer.php): `front/developer.php`
- [Login and Registration](https://github.com/catmiih/search-devs_base/blob/main/front/register-login.php): `front/register-login.php`
- [Developer Setup](https://github.com/catmiih/search-devs_base/blob/main/front/user/select-fields.php): `front/user/select-fields.php`
- [Developer Profiles](https://github.com/catmiih/search-devs_base/blob/main/front/user/pages/edit-profile.php): `front/user/pages/edit-profile.php`
- [Company Profiles](https://github.com/catmiih/search-devs_base/blob/main/front/company/pages/edit-profile.php): `front/company/pages/edit-profile.php`
- [Developer Dashboard](https://github.com/catmiih/search-devs_base/blob/main/front/user/dashboard.php): `front/user/dashboard.php`

### Project Management

- [Company Dashboard](https://github.com/catmiih/search-devs_base/blob/main/front/company/dashboard.php): `front/company/dashboard.php`
- [Create Project](https://github.com/catmiih/search-devs_base/blob/main/front/company/pages/createproj.php): `front/company/pages/createproj.php`
- [Project Skills](https://github.com/catmiih/search-devs_base/blob/main/front/company/skills.php): `front/company/skills.php`
- [Edit Project](https://github.com/catmiih/search-devs_base/blob/main/front/company/pages/edit-project.php): `front/company/pages/edit-project.php`
- [Project Details](https://github.com/catmiih/search-devs_base/blob/main/front/company/pages/details.php): `front/company/pages/details.php`
- [Project Operations](https://github.com/catmiih/search-devs_base/blob/main/back/class/project.php): `back/class/project.php`
- [Project Submission](https://github.com/catmiih/search-devs_base/blob/main/front/functions/createproj.php): `front/functions/createproj.php`

### Talent Discovery

- [Project Match Request](https://github.com/catmiih/search-devs_base/blob/main/front/functions/ideal-proj.php): `front/functions/ideal-proj.php`
- [Candidate Search](https://github.com/catmiih/search-devs_base/blob/main/front/company/pages/search.php): `front/company/pages/search.php`
- [Search Handler](https://github.com/catmiih/search-devs_base/blob/main/front/functions/search.php): `front/functions/search.php`
- [Candidate Scoring](https://github.com/catmiih/search-devs_base/blob/main/back/filter/project_add.php): `back/filter/project_add.php`
- [Match Rules](https://github.com/catmiih/search-devs_base/blob/main/back/filter/filter_func.php): `back/filter/filter_func.php`

### Application Data

- [Developer Operations](https://github.com/catmiih/search-devs_base/blob/main/back/class/user.php): `back/class/user.php`
- [Company Operations](https://github.com/catmiih/search-devs_base/blob/main/back/class/company.php): `back/class/company.php`
- **MySQL Database**
- **Email Service**

### Other components

- **Developer**
- **Company**

## Connections

- Developer → Account Registration: registers (evidence: `front/developer.php`)
- Company → Login and Registration: creates account
- Developer → Login and Registration: signs in
- Account Registration → Developer Operations: submits registration
- Account Registration → Login and Registration: posts credentials (evidence: `front/developer.php`)
- Login and Registration → Developer Operations: authenticates
- Developer Operations → Developer Setup: redirects for areas (evidence: `back/class/user.php`)
- Developer → Developer Profiles: updates profile
- Company → Company Profiles: updates profile
- Company → Company Dashboard: manages hiring (evidence: `front/company/dashboard.php`)
- Company Dashboard → Candidate Search: routes search (evidence: `front/company/dashboard.php`)
- Candidate Search → Search Handler: posts query (evidence: `front/company/pages/search.php`)
- Search Handler → Developer Operations: queries profiles (evidence: `front/functions/search.php`)
- Search Handler → MySQL Database: reads candidates (evidence: `front/functions/search.php`)
- Company Dashboard → Create Project: routes creation (evidence: `front/company/dashboard.php`)
- Create Project → Project Skills: sets requirements
- Project Skills → Project Submission: submits project (evidence: `front/company/skills.php`)
- Project Submission → Project Operations: creates project (evidence: `front/functions/createproj.php`)
- Project Operations → MySQL Database: reads and writes (evidence: `back/class/project.php`)
- Company Dashboard → Edit Project: routes editing (evidence: `front/company/dashboard.php`)
- Company Dashboard → Project Details: routes details (evidence: `front/company/dashboard.php`)
- Company → Project Match Request: requests matches
- Project Match Request → Project Operations: requests ideal developers (evidence: `front/functions/ideal-proj.php`)
- Project Operations → Candidate Scoring: loads candidate scoring (evidence: `back/class/project.php`)
- Candidate Scoring → Match Rules: scores candidates (evidence: `back/filter/project_add.php`)
- Candidate Scoring → MySQL Database: reads and ranks (evidence: `back/filter/project_add.php`)
- Company Dashboard → Project Operations: records candidate decisions (evidence: `front/company/dashboard.php`)
- Developer Operations → MySQL Database: reads and writes (evidence: `back/class/user.php`)
- Company Operations → MySQL Database: reads and writes (evidence: `back/class/company.php`)
- Developer → Developer Dashboard: views opportunities
- Developer Dashboard → Project Match Request: views matched projects
- Login and Registration → Email Service: may send confirmation
