# deepanshu92110-collab/capssem3 architecture

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

- Interactive diagram: https://gitdiagram.com/deepanshu92110-collab/capssem3
- Repository: https://github.com/deepanshu92110-collab/capssem3

## Overview

SkillBridge AI is an academia–industry platform for building student skill profiles, assessing skills and gaps, and connecting candidates to internships, projects, jobs, and placements. Its main workflow runs from student profile and skill activity through opportunity discovery and explainable recommendations to applications, interviews, internships, and placement tracking; institution and industry dashboards support the same collaboration. The graph reflects documented capabilities as well as sampled implementation. Some recommendation, resume, and matching internals were not sampled, so those links are omitted or marked unverified.

Main entry points: [`src/main.jsx`](https://github.com/deepanshu92110-collab/capssem3/blob/main/src/main.jsx) (Role-based web app), [`backend/src/config/prisma.js`](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/config/prisma.js) (PostgreSQL via Prisma), [`backend/src/app.js`](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/app.js) (Express API router), [`backend/src/controllers/opportunity.controller.js`](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/opportunity.controller.js) (Opportunity management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Web experience"]
  node_web_app["Role-based web app<br/>[main.jsx]"]
end

subgraph group_identity["Identity and profiles"]
  node_auth_context["Session context<br/>[AuthContext.jsx]"]
  node_auth_api["Auth API client<br/>[authService.js]"]
  node_user_profiles["User profiles"]
end

subgraph group_skills["Skills and guidance"]
  node_skills_ui["Skills hub<br/>[SkillsHub.jsx]"]
  node_skill_management["Skill management"]
  node_skill_assessment["Skill assessment"]
  node_skill_gaps["Skill-gap analysis"]
  node_recommendations["Learning recommendations"]
  node_matching["Opportunity matching"]
  node_resume_processing["Resume processing"]
end

subgraph group_opportunities["Industry opportunities"]
  node_company_opportunities_ui["Company and opportunity UI"]
  node_industry_api["Industry API client<br/>[industryService.js]"]
  node_opportunity_api["Opportunity management"]
end

subgraph group_outcomes["Hiring and outcomes"]
  node_hiring_ui["Applications and outcomes UI<br/>[Person4Pages.jsx]"]
  node_hiring_api_client["Hiring API client<br/>[person4Service.js]"]
  node_hiring_workflow["Applications to placements"]
  node_role_dashboards["Role dashboards"]
end

node_students(("Students"))
node_industry_users(("Industry users"))
node_institutions(("Institutions"))
node_admin(("Administrators"))
node_database[("PostgreSQL via Prisma<br/>[prisma.js]")]
node_backend_router["Express API router<br/>[app.js]"]

node_students -->|"use"| node_web_app
node_industry_users -->|"use"| node_web_app
node_institutions -->|"use"| node_web_app
node_admin -->|"use"| node_web_app
node_web_app -->|"provides session"| node_auth_context
node_auth_context -->|"calls"| node_auth_api
node_web_app -->|"routes to"| node_company_opportunities_ui
node_company_opportunities_ui -->|"calls"| node_industry_api
node_industry_api -.->|"requests"| node_opportunity_api
node_web_app -->|"routes to"| node_skills_ui
node_skills_ui -.->|"requests"| node_skill_management
node_students -->|"assess skills"| node_skill_assessment
node_students -->|"identify gaps"| node_skill_gaps
node_skill_gaps -->|"guides learning"| node_recommendations
node_students -->|"find opportunities"| node_matching
node_students -->|"upload resumes"| node_resume_processing
node_web_app -->|"routes to"| node_hiring_ui
node_hiring_ui -->|"calls"| node_hiring_api_client
node_hiring_api_client -.->|"requests"| node_hiring_workflow
node_hiring_workflow -->|"reads and writes"| node_database
node_opportunity_api -->|"reads and writes"| node_database
node_skill_management -->|"reads and writes"| node_database
node_skill_assessment -->|"reads and writes"| node_database
node_user_profiles -->|"reads and writes"| node_database
node_web_app -.->|"calls API"| node_backend_router
node_backend_router -->|"mounts routes"| node_opportunity_api
node_backend_router -->|"mounts routes"| node_hiring_workflow
node_industry_users -->|"monitor activity"| node_role_dashboards
node_institutions -->|"track outcomes"| node_role_dashboards
node_role_dashboards -->|"requests data"| node_hiring_api_client

click node_web_app "https://github.com/deepanshu92110-collab/capssem3/blob/main/src/main.jsx"
click node_auth_context "https://github.com/deepanshu92110-collab/capssem3/blob/main/src/context/AuthContext.jsx"
click node_auth_api "https://github.com/deepanshu92110-collab/capssem3/blob/main/src/services/authService.js"
click node_user_profiles "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/student.controller.js"
click node_company_opportunities_ui "https://github.com/deepanshu92110-collab/capssem3/blob/main/src/pages/ManageOpportunities.jsx"
click node_industry_api "https://github.com/deepanshu92110-collab/capssem3/blob/main/src/services/industryService.js"
click node_opportunity_api "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/opportunity.controller.js"
click node_skills_ui "https://github.com/deepanshu92110-collab/capssem3/blob/main/src/pages/SkillsHub.jsx"
click node_skill_management "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/skill.controller.js"
click node_skill_assessment "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/assessment.controller.js"
click node_skill_gaps "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/skillGap.controller.js"
click node_recommendations "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/services/recommendation.service.js"
click node_matching "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/matching.controller.js"
click node_resume_processing "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/resume.controller.js"
click node_hiring_ui "https://github.com/deepanshu92110-collab/capssem3/blob/main/src/pages/Person4Pages.jsx"
click node_hiring_api_client "https://github.com/deepanshu92110-collab/capssem3/blob/main/src/services/person4Service.js"
click node_hiring_workflow "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/person4.controller.js"
click node_role_dashboards "https://github.com/deepanshu92110-collab/capssem3/blob/main/src/pages/IndustryDashboard.jsx"
click node_database "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/config/prisma.js"
click node_backend_router "https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/app.js"

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_web_app,node_industry_users toneBlue
class node_auth_context,node_auth_api,node_user_profiles,node_database toneAmber
class node_skills_ui,node_skill_management,node_skill_assessment,node_skill_gaps,node_recommendations,node_matching,node_resume_processing,node_backend_router toneMint
class node_company_opportunities_ui,node_industry_api,node_opportunity_api toneRose
class node_hiring_ui,node_hiring_api_client,node_hiring_workflow,node_role_dashboards,node_students,node_institutions,node_admin toneIndigo
```

## Components

### Web experience

- [Role-based web app](https://github.com/deepanshu92110-collab/capssem3/blob/main/src/main.jsx): `src/main.jsx`

### Identity and profiles

- [Session context](https://github.com/deepanshu92110-collab/capssem3/blob/main/src/context/AuthContext.jsx): `src/context/AuthContext.jsx`
- [Auth API client](https://github.com/deepanshu92110-collab/capssem3/blob/main/src/services/authService.js): `src/services/authService.js`
- [User profiles](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/student.controller.js): `backend/src/controllers/student.controller.js`

### Skills and guidance

- [Skills hub](https://github.com/deepanshu92110-collab/capssem3/blob/main/src/pages/SkillsHub.jsx): `src/pages/SkillsHub.jsx`
- [Skill management](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/skill.controller.js): `backend/src/controllers/skill.controller.js`
- [Skill assessment](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/assessment.controller.js): `backend/src/controllers/assessment.controller.js`
- [Skill-gap analysis](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/skillGap.controller.js): `backend/src/controllers/skillGap.controller.js`
- [Learning recommendations](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/services/recommendation.service.js): `backend/src/services/recommendation.service.js`
- [Opportunity matching](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/matching.controller.js): `backend/src/controllers/matching.controller.js`
- [Resume processing](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/resume.controller.js): `backend/src/controllers/resume.controller.js`

### Industry opportunities

- [Company and opportunity UI](https://github.com/deepanshu92110-collab/capssem3/blob/main/src/pages/ManageOpportunities.jsx): `src/pages/ManageOpportunities.jsx`
- [Industry API client](https://github.com/deepanshu92110-collab/capssem3/blob/main/src/services/industryService.js): `src/services/industryService.js`
- [Opportunity management](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/opportunity.controller.js): `backend/src/controllers/opportunity.controller.js`

### Hiring and outcomes

- [Applications and outcomes UI](https://github.com/deepanshu92110-collab/capssem3/blob/main/src/pages/Person4Pages.jsx): `src/pages/Person4Pages.jsx`
- [Hiring API client](https://github.com/deepanshu92110-collab/capssem3/blob/main/src/services/person4Service.js): `src/services/person4Service.js`
- [Applications to placements](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/controllers/person4.controller.js): `backend/src/controllers/person4.controller.js`
- [Role dashboards](https://github.com/deepanshu92110-collab/capssem3/blob/main/src/pages/IndustryDashboard.jsx): `src/pages/IndustryDashboard.jsx`

### Other components

- **Students**
- **Industry users**
- **Institutions**
- **Administrators**
- [PostgreSQL via Prisma](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/config/prisma.js): `backend/src/config/prisma.js`
- [Express API router](https://github.com/deepanshu92110-collab/capssem3/blob/main/backend/src/app.js): `backend/src/app.js`

## Connections

- Students → Role-based web app: use (evidence: `README.md`)
- Industry users → Role-based web app: use (evidence: `README.md`)
- Institutions → Role-based web app: use (evidence: `README.md`)
- Administrators → Role-based web app: use (evidence: `README.md`)
- Role-based web app → Session context: provides session (evidence: `src/main.jsx`)
- Session context → Auth API client: calls (evidence: `src/context/AuthContext.jsx`)
- Role-based web app → Company and opportunity UI: routes to (evidence: `src/main.jsx`)
- Company and opportunity UI → Industry API client: calls (evidence: `src/pages/ManageOpportunities.jsx`)
- Industry API client → Opportunity management: requests (evidence: `src/services/industryService.js`)
- Role-based web app → Skills hub: routes to (evidence: `src/main.jsx`)
- Skills hub → Skill management: requests (evidence: `src/pages/SkillsHub.jsx`)
- Students → Skill assessment: assess skills (evidence: `README.md`)
- Students → Skill-gap analysis: identify gaps (evidence: `README.md`)
- Skill-gap analysis → Learning recommendations: guides learning (evidence: `README.md`)
- Students → Opportunity matching: find opportunities (evidence: `README.md`)
- Students → Resume processing: upload resumes (evidence: `README.md`)
- Role-based web app → Applications and outcomes UI: routes to (evidence: `src/main.jsx`)
- Applications and outcomes UI → Hiring API client: calls (evidence: `src/pages/Person4Pages.jsx`)
- Hiring API client → Applications to placements: requests (evidence: `src/services/person4Service.js`)
- Applications to placements → PostgreSQL via Prisma: reads and writes (evidence: `backend/src/controllers/person4.controller.js`)
- Opportunity management → PostgreSQL via Prisma: reads and writes (evidence: `backend/src/controllers/opportunity.controller.js`)
- Skill management → PostgreSQL via Prisma: reads and writes (evidence: `backend/src/controllers/skill.controller.js`)
- Skill assessment → PostgreSQL via Prisma: reads and writes (evidence: `backend/src/controllers/assessment.controller.js`)
- User profiles → PostgreSQL via Prisma: reads and writes (evidence: `backend/src/controllers/student.controller.js`)
- Role-based web app → Express API router: calls API
- Express API router → Opportunity management: mounts routes (evidence: `backend/src/app.js`)
- Express API router → Applications to placements: mounts routes (evidence: `backend/src/app.js`)
- Industry users → Role dashboards: monitor activity (evidence: `README.md`)
- Institutions → Role dashboards: track outcomes (evidence: `README.md`)
- Role dashboards → Hiring API client: requests data (evidence: `src/pages/IndustryDashboard.jsx`)
