# fairuzanam007/skillsphere architecture

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

- Interactive diagram: https://gitdiagram.com/fairuzanam007/skillsphere
- Repository: https://github.com/fairuzanam007/skillsphere

## Overview

SkillSphere is a Django platform for student skill development and verification, mentorship, and recruiter opportunity matching, with role-based administration. The principal workflow is a student managing a profile and skills, seeking teacher verification, then applying to opportunities; teachers respond to mentorship and verification requests, while recruiters publish jobs and review applicants. Views own these workflows and interact with forms and domain models. The excerpts establish routing, model use, role checks, and SQLite configuration; other feature links are included only where documented in the README.

Main entry points: [`skillsphere/accounts/views.py`](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py) (Account workflows), [`skillsphere/accounts/models.py`](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/models.py) (Domain records), [`skillsphere/accounts/forms.py`](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/forms.py) (Account forms), [`skillsphere/accounts/middleware.py`](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/middleware.py) (Request access checks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Accounts and access"]
  node_accounts_views["Account workflows<br/>[views.py]"]
  node_accounts_forms["Account forms<br/>[forms.py]"]
  node_role_checks["Role checks<br/>[decorator.py]"]
  node_request_middleware["Request access checks<br/>[middleware.py]"]
  node_route_table["Account routes<br/>[urls.py]"]
end

subgraph group_learning["Skills and mentorship"]
  node_skill_workflows["Skill and proof workflows<br/>[views.py]"]
  node_mentorship_verification["Mentorship and verification<br/>[views.py]"]
end

subgraph group_opportunities["Jobs and applications"]
  node_job_workflows["Job and application workflows<br/>[views.py]"]
end

subgraph group_communication["Messaging and notices"]
  node_messaging_notifications["Messages and notifications<br/>[views.py]"]
end

subgraph group_operations["Administration"]
  node_admin_workflows["Admin workflows<br/>[views.py]"]
  node_domain_models["Domain records<br/>[models.py]"]
  node_django_admin["Django admin interface<br/>[admin.py]"]
  node_sqlite[("SQLite database<br/>[settings.py]")]
end

node_student(("Student"))
node_teacher(("Teacher"))
node_recruiter(("Recruiter"))
node_admin(("Admin"))

node_route_table -->|"routes to"| node_accounts_views
node_accounts_views -->|"validates with"| node_accounts_forms
node_accounts_views -->|"reads and writes"| node_domain_models
node_accounts_forms -->|"builds forms for"| node_domain_models
node_accounts_views -->|"uses role guards"| node_role_checks
node_request_middleware -->|"checks profiles"| node_domain_models
node_django_admin -->|"registers models"| node_domain_models
node_student -->|"registers and signs in"| node_accounts_views
node_student -->|"manages skills"| node_skill_workflows
node_student -->|"requests guidance"| node_mentorship_verification
node_teacher -->|"reviews requests"| node_mentorship_verification
node_recruiter -->|"posts and tracks"| node_job_workflows
node_admin -->|"manages users"| node_admin_workflows
node_admin -->|"sends announcements"| node_messaging_notifications
node_sqlite -.->|"stores records"| node_domain_models

click node_accounts_views "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py"
click node_accounts_forms "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/forms.py"
click node_role_checks "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/decorator.py"
click node_request_middleware "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/middleware.py"
click node_skill_workflows "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py"
click node_mentorship_verification "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py"
click node_job_workflows "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py"
click node_messaging_notifications "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py"
click node_admin_workflows "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py"
click node_domain_models "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/models.py"
click node_django_admin "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/admin.py"
click node_route_table "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/urls.py"
click node_sqlite "https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/skillsphere/settings.py"

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_accounts_views,node_accounts_forms,node_role_checks,node_request_middleware,node_route_table toneBlue
class node_skill_workflows,node_mentorship_verification toneAmber
class node_job_workflows toneMint
class node_messaging_notifications toneRose
class node_admin_workflows,node_domain_models,node_django_admin,node_sqlite,node_student,node_teacher,node_recruiter,node_admin toneIndigo
```

## Components

### Accounts and access

- [Account workflows](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py): `skillsphere/accounts/views.py`
- [Account forms](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/forms.py): `skillsphere/accounts/forms.py`
- [Role checks](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/decorator.py): `skillsphere/accounts/decorator.py`
- [Request access checks](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/middleware.py): `skillsphere/accounts/middleware.py`
- [Account routes](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/urls.py): `skillsphere/accounts/urls.py`

### Skills and mentorship

- [Skill and proof workflows](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py): `skillsphere/accounts/views.py`
- [Mentorship and verification](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py): `skillsphere/accounts/views.py`

### Jobs and applications

- [Job and application workflows](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py): `skillsphere/accounts/views.py`

### Messaging and notices

- [Messages and notifications](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py): `skillsphere/accounts/views.py`

### Administration

- [Admin workflows](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/views.py): `skillsphere/accounts/views.py`
- [Domain records](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/models.py): `skillsphere/accounts/models.py`
- [Django admin interface](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/accounts/admin.py): `skillsphere/accounts/admin.py`
- [SQLite database](https://github.com/fairuzanam007/skillsphere/blob/main/skillsphere/skillsphere/settings.py): `skillsphere/skillsphere/settings.py`

### Other components

- **Student**
- **Teacher**
- **Recruiter**
- **Admin**

## Connections

- Account routes → Account workflows: routes to (evidence: `skillsphere/accounts/urls.py`)
- Account workflows → Account forms: validates with (evidence: `skillsphere/accounts/views.py`)
- Account workflows → Domain records: reads and writes (evidence: `skillsphere/accounts/views.py`)
- Account forms → Domain records: builds forms for (evidence: `skillsphere/accounts/forms.py`)
- Account workflows → Role checks: uses role guards (evidence: `skillsphere/accounts/views.py`)
- Request access checks → Domain records: checks profiles (evidence: `skillsphere/accounts/middleware.py`)
- Django admin interface → Domain records: registers models (evidence: `skillsphere/accounts/admin.py`)
- Student → Account workflows: registers and signs in (evidence: `README.md`)
- Student → Skill and proof workflows: manages skills (evidence: `README.md`)
- Student → Mentorship and verification: requests guidance (evidence: `README.md`)
- Teacher → Mentorship and verification: reviews requests (evidence: `README.md`)
- Recruiter → Job and application workflows: posts and tracks (evidence: `README.md`)
- Admin → Admin workflows: manages users (evidence: `README.md`)
- Admin → Messages and notifications: sends announcements (evidence: `README.md`)
- SQLite database → Domain records: stores records
