# shaunak-8/skillbridge architecture

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

- Interactive diagram: https://gitdiagram.com/shaunak-8/skillbridge
- Repository: https://github.com/shaunak-8/skillbridge

## Overview

Skillbridge is an initial frontend for skills-first matching between local businesses and students. Its demonstrated workflow is browsing and filtering demo projects, viewing project details, and entering student or business workspaces for applications, assessments, project management, and collaboration views. Business posting, screening, billing, and admin surfaces are also represented, but remain demo or placeholder experiences; authentication, AI, payments, and production persistence are not implemented. Links reflect README statements and indexed references; unsampled route details are not inferred.

Main entry points: [`src/data/mock-data.ts`](https://github.com/shaunak-8/skillbridge/blob/main/src/data/mock-data.ts) (Demo domain data), [`src/components/shared/ProjectCard.tsx`](https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/ProjectCard.tsx) (Project card), [`src/app/(business)/business/projects/page.tsx`](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/projects/page.tsx) (Business pages), [`src/components/shared/RolePage.tsx`](https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/RolePage.tsx) (Applications and assessments)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_marketplace["Project marketplace"]
  node_public_home["Landing and about<br/>[page.tsx]"]
  node_project_board["Project board<br/>[page.tsx]"]
  node_project_detail["Project detail<br/>[page.tsx]"]
  node_auth["Login and registration<br/>[page.tsx]"]
end

subgraph group_student["Student workspace"]
  node_student_routes["Student pages<br/>[page.tsx]"]
  node_student_dashboard["Student dashboard<br/>[DashboardHome.tsx]"]
  node_student_views["Applications and assessments<br/>[RolePage.tsx]"]
  node_student_projects["Active projects<br/>[page.tsx]"]
end

subgraph group_business["Business workspace"]
  node_business_routes["Business pages<br/>[page.tsx]"]
  node_business_dashboard["Business dashboard<br/>[DashboardHome.tsx]"]
  node_problem_posting["Problem posting<br/>[page.tsx]"]
  node_business_applications["Applications and workspace<br/>[page.tsx]"]
  node_screening["Screening preview<br/>[page.tsx]"]
  node_billing["Billing placeholder<br/>[page.tsx]"]
end

subgraph group_admin["Admin workspace"]
  node_admin_routes["Admin pages<br/>[page.tsx]"]
  node_admin_views["Users and projects<br/>[RolePage.tsx]"]
end

subgraph group_shared["Shared frontend and demo data"]
  node_mock_data[("Demo domain data<br/>[mock-data.ts]")]
  node_domain_types["Domain contracts<br/>[index.ts]"]
  node_project_card["Project card<br/>[ProjectCard.tsx]"]
  node_dashboard_shell["Dashboard shell"]
  node_role_navigation["Role navigation<br/>[Sidebar.tsx]"]
  node_ui_primitives["UI primitives<br/>[index.tsx]"]
  node_supabase_boundary["Supabase client boundary<br/>[client.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_public_home
node_visitor -->|"browses"| node_project_board
node_visitor -->|"registers"| node_auth
node_public_home -->|"links to"| node_project_board
node_public_home -->|"reads projects"| node_mock_data
node_public_home -->|"renders"| node_project_card
node_project_board -->|"filters projects"| node_mock_data
node_project_board -->|"renders"| node_project_card
node_project_card -->|"links to"| node_project_detail
node_project_detail -->|"reads projects"| node_mock_data
node_project_detail -->|"renders"| node_project_card
node_student_routes -->|"uses shell"| node_dashboard_shell
node_student_routes -->|"renders dashboard"| node_student_dashboard
node_student_routes -->|"renders role views"| node_student_views
node_student_routes -.->|"routes to"| node_student_projects
node_student_dashboard -->|"reads demo data"| node_mock_data
node_student_dashboard -->|"renders projects"| node_project_card
node_student_views -->|"reads demo data"| node_mock_data
node_student_views -->|"renders projects"| node_project_card
node_business_routes -->|"uses shell"| node_dashboard_shell
node_business_routes -->|"renders dashboard"| node_business_dashboard
node_business_routes -.->|"routes to"| node_problem_posting
node_business_routes -.->|"routes to"| node_business_applications
node_business_routes -.->|"routes to"| node_screening
node_business_routes -.->|"routes to"| node_billing
node_business_dashboard -->|"reads demo data"| node_mock_data
node_business_dashboard -->|"renders projects"| node_project_card
node_problem_posting -->|"uses controls"| node_ui_primitives
node_business_applications -.->|"renders role view"| node_student_views
node_screening -.->|"uses preview"| node_student_views
node_admin_routes -->|"uses shell"| node_dashboard_shell
node_admin_routes -->|"renders role views"| node_admin_views
node_admin_views -->|"reads demo data"| node_mock_data
node_dashboard_shell -->|"renders"| node_role_navigation
node_dashboard_shell -->|"uses controls"| node_ui_primitives
node_role_navigation -->|"uses roles"| node_domain_types
node_project_card -->|"uses project type"| node_domain_types
node_mock_data -->|"defines typed records"| node_domain_types
node_ui_primitives -.->|"uses UI types"| node_domain_types
node_supabase_boundary -.->|"replacement boundary"| node_mock_data

click node_public_home "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(public)/page.tsx"
click node_project_board "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(public)/projects/page.tsx"
click node_project_detail "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(public)/projects/%5Bid%5D/page.tsx"
click node_auth "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(auth)/register/page.tsx"
click node_student_routes "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(student)/student/projects/page.tsx"
click node_student_dashboard "https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/DashboardHome.tsx"
click node_student_views "https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/RolePage.tsx"
click node_student_projects "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(student)/student/my-projects/page.tsx"
click node_business_routes "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/projects/page.tsx"
click node_business_dashboard "https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/DashboardHome.tsx"
click node_problem_posting "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/post-problem/page.tsx"
click node_business_applications "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/projects/%5Bid%5D/applications/page.tsx"
click node_screening "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/screening/page.tsx"
click node_billing "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/billing/page.tsx"
click node_admin_routes "https://github.com/shaunak-8/skillbridge/blob/main/src/app/(admin)/admin/dashboard/page.tsx"
click node_admin_views "https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/RolePage.tsx"
click node_mock_data "https://github.com/shaunak-8/skillbridge/blob/main/src/data/mock-data.ts"
click node_domain_types "https://github.com/shaunak-8/skillbridge/blob/main/src/types/index.ts"
click node_project_card "https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/ProjectCard.tsx"
click node_dashboard_shell "https://github.com/shaunak-8/skillbridge/blob/main/src/components/layout/DashboardLayout.tsx"
click node_role_navigation "https://github.com/shaunak-8/skillbridge/blob/main/src/components/layout/Sidebar.tsx"
click node_ui_primitives "https://github.com/shaunak-8/skillbridge/blob/main/src/components/ui/index.tsx"
click node_supabase_boundary "https://github.com/shaunak-8/skillbridge/blob/main/src/lib/supabase/client.ts"

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_public_home,node_project_board,node_project_detail,node_auth toneBlue
class node_student_routes,node_student_dashboard,node_student_views,node_student_projects toneAmber
class node_business_routes,node_business_dashboard,node_problem_posting,node_business_applications,node_screening,node_billing toneMint
class node_admin_routes,node_admin_views toneRose
class node_mock_data,node_domain_types,node_project_card,node_dashboard_shell,node_role_navigation,node_ui_primitives,node_supabase_boundary,node_visitor toneIndigo
```

## Components

### Project marketplace

- [Landing and about](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(public)/page.tsx): `src/app/(public)/page.tsx`
- [Project board](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(public)/projects/page.tsx): `src/app/(public)/projects/page.tsx`
- [Project detail](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(public)/projects/%5Bid%5D/page.tsx): `src/app/(public)/projects/[id]/page.tsx`
- [Login and registration](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(auth)/register/page.tsx): `src/app/(auth)/register/page.tsx`

### Student workspace

- [Student pages](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(student)/student/projects/page.tsx): `src/app/(student)/student/projects/page.tsx`
- [Student dashboard](https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/DashboardHome.tsx): `src/components/shared/DashboardHome.tsx`
- [Applications and assessments](https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/RolePage.tsx): `src/components/shared/RolePage.tsx`
- [Active projects](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(student)/student/my-projects/page.tsx): `src/app/(student)/student/my-projects/page.tsx`

### Business workspace

- [Business pages](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/projects/page.tsx): `src/app/(business)/business/projects/page.tsx`
- [Business dashboard](https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/DashboardHome.tsx): `src/components/shared/DashboardHome.tsx`
- [Problem posting](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/post-problem/page.tsx): `src/app/(business)/business/post-problem/page.tsx`
- [Applications and workspace](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/projects/%5Bid%5D/applications/page.tsx): `src/app/(business)/business/projects/[id]/applications/page.tsx`
- [Screening preview](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/screening/page.tsx): `src/app/(business)/business/screening/page.tsx`
- [Billing placeholder](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(business)/business/billing/page.tsx): `src/app/(business)/business/billing/page.tsx`

### Admin workspace

- [Admin pages](https://github.com/shaunak-8/skillbridge/blob/main/src/app/(admin)/admin/dashboard/page.tsx): `src/app/(admin)/admin/dashboard/page.tsx`
- [Users and projects](https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/RolePage.tsx): `src/components/shared/RolePage.tsx`

### Shared frontend and demo data

- [Demo domain data](https://github.com/shaunak-8/skillbridge/blob/main/src/data/mock-data.ts): `src/data/mock-data.ts`
- [Domain contracts](https://github.com/shaunak-8/skillbridge/blob/main/src/types/index.ts): `src/types/index.ts`
- [Project card](https://github.com/shaunak-8/skillbridge/blob/main/src/components/shared/ProjectCard.tsx): `src/components/shared/ProjectCard.tsx`
- [Dashboard shell](https://github.com/shaunak-8/skillbridge/blob/main/src/components/layout/DashboardLayout.tsx): `src/components/layout/DashboardLayout.tsx`
- [Role navigation](https://github.com/shaunak-8/skillbridge/blob/main/src/components/layout/Sidebar.tsx): `src/components/layout/Sidebar.tsx`
- [UI primitives](https://github.com/shaunak-8/skillbridge/blob/main/src/components/ui/index.tsx): `src/components/ui/index.tsx`
- [Supabase client boundary](https://github.com/shaunak-8/skillbridge/blob/main/src/lib/supabase/client.ts): `src/lib/supabase/client.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Landing and about: opens (evidence: `src/app/(public)/page.tsx`)
- Visitor → Project board: browses
- Visitor → Login and registration: registers (evidence: `src/app/(auth)/register/page.tsx`)
- Landing and about → Project board: links to (evidence: `src/app/(public)/page.tsx`)
- Landing and about → Demo domain data: reads projects (evidence: `src/app/(public)/page.tsx`)
- Landing and about → Project card: renders (evidence: `src/app/(public)/page.tsx`)
- Project board → Demo domain data: filters projects (evidence: `src/app/(public)/projects/page.tsx`)
- Project board → Project card: renders (evidence: `src/app/(public)/projects/page.tsx`)
- Project card → Project detail: links to (evidence: `src/components/shared/ProjectCard.tsx`)
- Project detail → Demo domain data: reads projects (evidence: `src/app/(public)/projects/[id]/page.tsx`)
- Project detail → Project card: renders (evidence: `src/app/(public)/projects/[id]/page.tsx`)
- Student pages → Dashboard shell: uses shell (evidence: `src/app/(student)/student/projects/page.tsx`)
- Student pages → Student dashboard: renders dashboard
- Student pages → Applications and assessments: renders role views (evidence: `src/app/(student)/student/projects/page.tsx`)
- Student pages → Active projects: routes to
- Student dashboard → Demo domain data: reads demo data (evidence: `src/components/shared/DashboardHome.tsx`)
- Student dashboard → Project card: renders projects (evidence: `src/components/shared/DashboardHome.tsx`)
- Applications and assessments → Demo domain data: reads demo data (evidence: `src/components/shared/RolePage.tsx`)
- Applications and assessments → Project card: renders projects (evidence: `src/components/shared/RolePage.tsx`)
- Business pages → Dashboard shell: uses shell (evidence: `src/app/(business)/business/projects/page.tsx`)
- Business pages → Business dashboard: renders dashboard
- Business pages → Problem posting: routes to
- Business pages → Applications and workspace: routes to
- Business pages → Screening preview: routes to
- Business pages → Billing placeholder: routes to
- Business dashboard → Demo domain data: reads demo data (evidence: `src/components/shared/DashboardHome.tsx`)
- Business dashboard → Project card: renders projects (evidence: `src/components/shared/DashboardHome.tsx`)
- Problem posting → UI primitives: uses controls (evidence: `src/app/(business)/business/post-problem/page.tsx`)
- Applications and workspace → Applications and assessments: renders role view (evidence: `src/app/(business)/business/projects/[id]/applications/page.tsx`)
- Screening preview → Applications and assessments: uses preview (evidence: `src/app/(business)/business/screening/page.tsx`)
- Admin pages → Dashboard shell: uses shell (evidence: `src/app/(admin)/admin/dashboard/page.tsx`)
- Admin pages → Users and projects: renders role views
- Users and projects → Demo domain data: reads demo data (evidence: `src/components/shared/RolePage.tsx`)
- Dashboard shell → Role navigation: renders (evidence: `src/components/layout/DashboardLayout.tsx`)
- Dashboard shell → UI primitives: uses controls (evidence: `src/components/layout/DashboardLayout.tsx`)
- Role navigation → Domain contracts: uses roles (evidence: `src/components/layout/Sidebar.tsx`)
- Project card → Domain contracts: uses project type (evidence: `src/components/shared/ProjectCard.tsx`)
- Demo domain data → Domain contracts: defines typed records (evidence: `src/data/mock-data.ts`)
- UI primitives → Domain contracts: uses UI types
- Supabase client boundary → Demo domain data: replacement boundary (evidence: `README.md`)
