# andrie215-frost/task1 architecture

> Architecture diagram of the GitHub repository andrie215-frost/task1, 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/andrie215-frost/task1
- Repository: https://github.com/andrie215-frost/task1

## Overview

SkillMatch is a Laravel application for company and skilled-person accounts, job listings, and matching. The main user workflow is to maintain a profile or post a job, then browse listings or submit criteria to find matching workers or jobs. Separate branches cover account access, contact, and administration of users, listings, skills, and match-finding options. The map uses the route declarations and sampled controller/model references; several view-rendering and API details were not shown, so those connections are omitted.

Main entry points: [`routes/web.php`](https://github.com/andrie215-frost/task1/blob/main/routes/web.php) (Web routes), [`app/Models/User.php`](https://github.com/andrie215-frost/task1/blob/main/app/Models/User.php) (User accounts), [`app/Models/JobPost.php`](https://github.com/andrie215-frost/task1/blob/main/app/Models/JobPost.php) (Job posts), [`app/Models/Skill.php`](https://github.com/andrie215-frost/task1/blob/main/app/Models/Skill.php) (Skills)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Account access"]
  node_auth["Authentication<br/>[AuthController.php]"]
  node_account["Account settings"]
  node_token_auth["API token auth"]
end

subgraph group_marketplace["Profiles and jobs"]
  node_profile["Profiles"]
  node_job_posts["Job posting"]
  node_job_feed["Job feed"]
  node_contact["Contact"]
  node_user_model[("User accounts<br/>[User.php]")]
  node_skilled_profile[("Skilled profiles<br/>[SkilledProfile.php]")]
  node_company_profile[("Company profiles<br/>[CompanyProfile.php]")]
  node_job_model[("Job posts<br/>[JobPost.php]")]
  node_skill_model[("Skills<br/>[Skill.php]")]
end

subgraph group_matching["Search and matching"]
  node_matching["Match finder"]
  node_finding_options[("Finding options<br/>[FindingOption.php]")]
end

subgraph group_administration["Administration"]
  node_admin_dashboard["Admin dashboard"]
  node_admin_users["User administration"]
  node_admin_jobs["Job administration"]
  node_admin_skills["Skill administration"]
  node_admin_options["Option administration"]
end

node_user(("User"))
node_web_routes["Web routes<br/>[web.php]"]

node_user -->|"submits requests"| node_web_routes
node_web_routes -->|"routes auth"| node_auth
node_web_routes -->|"routes account"| node_account
node_web_routes -->|"routes profiles"| node_profile
node_web_routes -->|"routes postings"| node_job_posts
node_web_routes -->|"routes feed"| node_job_feed
node_web_routes -->|"routes matching"| node_matching
node_web_routes -->|"routes contact"| node_contact
node_web_routes -->|"routes admin"| node_admin_dashboard
node_web_routes -->|"routes admin"| node_admin_users
node_web_routes -->|"routes admin"| node_admin_jobs
node_web_routes -->|"routes admin"| node_admin_skills
node_web_routes -->|"routes admin"| node_admin_options
node_auth -->|"reads accounts"| node_user_model
node_account -->|"updates account"| node_user_model
node_profile -->|"loads profiles"| node_user_model
node_profile -->|"loads skills"| node_skill_model
node_job_posts -->|"manages posts"| node_job_model
node_job_posts -->|"assigns skills"| node_skill_model
node_job_feed -->|"queries listings"| node_job_model
node_contact -->|"references listings"| node_job_model
node_contact -->|"references accounts"| node_user_model
node_matching -->|"scores workers"| node_user_model
node_matching -->|"scores jobs"| node_job_model
node_matching -->|"reads selected skills"| node_skill_model
node_matching -->|"loads criteria"| node_finding_options
node_user_model -->|"relates profile"| node_skilled_profile
node_user_model -->|"relates profile"| node_company_profile
node_user_model -->|"relates skills"| node_skill_model
node_user_model -->|"owns listings"| node_job_model
node_job_model -->|"relates skills"| node_skill_model
node_admin_dashboard -->|"summarizes listings"| node_job_model
node_admin_dashboard -->|"summarizes accounts"| node_user_model
node_admin_users -->|"manages accounts"| node_user_model
node_admin_jobs -->|"manages listings"| node_job_model
node_admin_skills -->|"manages skills"| node_skill_model
node_admin_options -->|"manages options"| node_finding_options

click node_web_routes "https://github.com/andrie215-frost/task1/blob/main/routes/web.php"
click node_auth "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/AuthController.php"
click node_account "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/AccountController.php"
click node_token_auth "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Api/AuthTokenController.php"
click node_profile "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/ProfileController.php"
click node_job_posts "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/JobPostController.php"
click node_job_feed "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/JobFeedController.php"
click node_contact "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/ContactController.php"
click node_matching "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/MatchController.php"
click node_user_model "https://github.com/andrie215-frost/task1/blob/main/app/Models/User.php"
click node_skilled_profile "https://github.com/andrie215-frost/task1/blob/main/app/Models/SkilledProfile.php"
click node_company_profile "https://github.com/andrie215-frost/task1/blob/main/app/Models/CompanyProfile.php"
click node_job_model "https://github.com/andrie215-frost/task1/blob/main/app/Models/JobPost.php"
click node_skill_model "https://github.com/andrie215-frost/task1/blob/main/app/Models/Skill.php"
click node_finding_options "https://github.com/andrie215-frost/task1/blob/main/app/Models/FindingOption.php"
click node_admin_dashboard "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Admin/AdminDashboardController.php"
click node_admin_users "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Admin/AdminUserController.php"
click node_admin_jobs "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Admin/AdminJobPostController.php"
click node_admin_skills "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Admin/AdminSkillController.php"
click node_admin_options "https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Admin/AdminFindingOptionController.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_auth,node_account,node_token_auth,node_user toneBlue
class node_profile,node_job_posts,node_job_feed,node_contact,node_user_model,node_skilled_profile,node_company_profile,node_job_model,node_skill_model toneAmber
class node_matching,node_finding_options,node_web_routes toneMint
class node_admin_dashboard,node_admin_users,node_admin_jobs,node_admin_skills,node_admin_options toneRose
```

## Components

### Account access

- [Authentication](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/AuthController.php): `app/Http/Controllers/AuthController.php`
- [Account settings](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/AccountController.php): `app/Http/Controllers/AccountController.php`
- [API token auth](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Api/AuthTokenController.php): `app/Http/Controllers/Api/AuthTokenController.php`

### Profiles and jobs

- [Profiles](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/ProfileController.php): `app/Http/Controllers/ProfileController.php`
- [Job posting](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/JobPostController.php): `app/Http/Controllers/JobPostController.php`
- [Job feed](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/JobFeedController.php): `app/Http/Controllers/JobFeedController.php`
- [Contact](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/ContactController.php): `app/Http/Controllers/ContactController.php`
- [User accounts](https://github.com/andrie215-frost/task1/blob/main/app/Models/User.php): `app/Models/User.php`
- [Skilled profiles](https://github.com/andrie215-frost/task1/blob/main/app/Models/SkilledProfile.php): `app/Models/SkilledProfile.php`
- [Company profiles](https://github.com/andrie215-frost/task1/blob/main/app/Models/CompanyProfile.php): `app/Models/CompanyProfile.php`
- [Job posts](https://github.com/andrie215-frost/task1/blob/main/app/Models/JobPost.php): `app/Models/JobPost.php`
- [Skills](https://github.com/andrie215-frost/task1/blob/main/app/Models/Skill.php): `app/Models/Skill.php`

### Search and matching

- [Match finder](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/MatchController.php): `app/Http/Controllers/MatchController.php`
- [Finding options](https://github.com/andrie215-frost/task1/blob/main/app/Models/FindingOption.php): `app/Models/FindingOption.php`

### Administration

- [Admin dashboard](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Admin/AdminDashboardController.php): `app/Http/Controllers/Admin/AdminDashboardController.php`
- [User administration](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Admin/AdminUserController.php): `app/Http/Controllers/Admin/AdminUserController.php`
- [Job administration](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Admin/AdminJobPostController.php): `app/Http/Controllers/Admin/AdminJobPostController.php`
- [Skill administration](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Admin/AdminSkillController.php): `app/Http/Controllers/Admin/AdminSkillController.php`
- [Option administration](https://github.com/andrie215-frost/task1/blob/main/app/Http/Controllers/Admin/AdminFindingOptionController.php): `app/Http/Controllers/Admin/AdminFindingOptionController.php`

### Other components

- **User**
- [Web routes](https://github.com/andrie215-frost/task1/blob/main/routes/web.php): `routes/web.php`

## Connections

- User → Web routes: submits requests (evidence: `routes/web.php`)
- Web routes → Authentication: routes auth (evidence: `routes/web.php`)
- Web routes → Account settings: routes account (evidence: `routes/web.php`)
- Web routes → Profiles: routes profiles (evidence: `routes/web.php`)
- Web routes → Job posting: routes postings (evidence: `routes/web.php`)
- Web routes → Job feed: routes feed (evidence: `routes/web.php`)
- Web routes → Match finder: routes matching (evidence: `routes/web.php`)
- Web routes → Contact: routes contact (evidence: `routes/web.php`)
- Web routes → Admin dashboard: routes admin (evidence: `routes/web.php`)
- Web routes → User administration: routes admin (evidence: `routes/web.php`)
- Web routes → Job administration: routes admin (evidence: `routes/web.php`)
- Web routes → Skill administration: routes admin (evidence: `routes/web.php`)
- Web routes → Option administration: routes admin (evidence: `routes/web.php`)
- Authentication → User accounts: reads accounts (evidence: `app/Http/Controllers/AuthController.php`)
- Account settings → User accounts: updates account (evidence: `app/Http/Controllers/AccountController.php`)
- Profiles → User accounts: loads profiles (evidence: `app/Http/Controllers/ProfileController.php`)
- Profiles → Skills: loads skills (evidence: `app/Http/Controllers/ProfileController.php`)
- Job posting → Job posts: manages posts (evidence: `app/Http/Controllers/JobPostController.php`)
- Job posting → Skills: assigns skills (evidence: `app/Http/Controllers/JobPostController.php`)
- Job feed → Job posts: queries listings (evidence: `app/Http/Controllers/JobFeedController.php`)
- Contact → Job posts: references listings (evidence: `app/Http/Controllers/ContactController.php`)
- Contact → User accounts: references accounts (evidence: `app/Http/Controllers/ContactController.php`)
- Match finder → User accounts: scores workers (evidence: `app/Http/Controllers/MatchController.php`)
- Match finder → Job posts: scores jobs (evidence: `app/Http/Controllers/MatchController.php`)
- Match finder → Skills: reads selected skills (evidence: `app/Http/Controllers/MatchController.php`)
- Match finder → Finding options: loads criteria (evidence: `app/Http/Controllers/MatchController.php`)
- User accounts → Skilled profiles: relates profile (evidence: `app/Models/User.php`)
- User accounts → Company profiles: relates profile (evidence: `app/Models/User.php`)
- User accounts → Skills: relates skills (evidence: `app/Models/User.php`)
- User accounts → Job posts: owns listings (evidence: `app/Models/User.php`)
- Job posts → Skills: relates skills (evidence: `app/Models/JobPost.php`)
- Admin dashboard → Job posts: summarizes listings (evidence: `app/Http/Controllers/Admin/AdminDashboardController.php`)
- Admin dashboard → User accounts: summarizes accounts (evidence: `app/Http/Controllers/Admin/AdminDashboardController.php`)
- User administration → User accounts: manages accounts (evidence: `app/Http/Controllers/Admin/AdminUserController.php`)
- Job administration → Job posts: manages listings (evidence: `app/Http/Controllers/Admin/AdminJobPostController.php`)
- Skill administration → Skills: manages skills (evidence: `app/Http/Controllers/Admin/AdminSkillController.php`)
- Option administration → Finding options: manages options (evidence: `app/Http/Controllers/Admin/AdminFindingOptionController.php`)
