# yothisha18/career-connect-portal-v2 architecture

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

- Interactive diagram: https://gitdiagram.com/yothisha18/career-connect-portal-v2
- Repository: https://github.com/yothisha18/career-connect-portal-v2

## Overview

Career Connect is a student–recruiter job portal. The main user journey is browsing and filtering jobs, viewing a job, and applying; students can also manage profiles and applications, while recruiters can post jobs and review applicants. The React app routes these experiences, and page components call a shared Axios client for backend operations. The README describes only a Vite template, so the product identification and capabilities here come from the application source and route structure. Unsampled page internals are not assumed; their route links are shown only where App.jsx establishes them.

Main entry points: [`src/App.jsx`](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/App.jsx) (Route application), [`src/services/api.js`](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/services/api.js) (HTTP client), [`src/pages/JobList/JobList.jsx`](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/JobList/JobList.jsx) (Job search), [`src/pages/Home/Home.jsx`](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Home/Home.jsx) (Home page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_routing["App and navigation"]
  node_app["Route application<br/>[App.jsx]"]
  node_navbar["Site navigation<br/>[Navbar.jsx]"]
end

subgraph group_discovery["Job discovery"]
  node_home["Home page<br/>[Home.jsx]"]
  node_joblist["Job search<br/>[JobList.jsx]"]
  node_search["Search input<br/>[SearchBar.jsx]"]
  node_jobcard["Job listing card<br/>[JobCard.jsx]"]
  node_jobdetails["Job details<br/>[JobDetails.jsx]"]
end

subgraph group_student["Student features"]
  node_apply["Job application<br/>[ApplyJob.jsx]"]
  node_login["Sign in<br/>[Login.jsx]"]
  node_register["Registration<br/>[Register.jsx]"]
  node_profile["Student profile<br/>[Profile.jsx]"]
  node_editprofile["Edit profile<br/>[EditProfile.jsx]"]
  node_studentdash["Student dashboard"]
  node_applications["My applications<br/>[MyApplications.jsx]"]
end

subgraph group_recruiter["Recruiter features"]
  node_recruiterdash["Recruiter dashboard"]
  node_recruiterjobs["Recruiter jobs<br/>[RecruiterJobs.jsx]"]
  node_postjob["Post a job<br/>[PostJob.jsx]"]
  node_applicants["Review applicants<br/>[Applicants.jsx]"]
end

subgraph group_services["API access"]
  node_api["HTTP client<br/>[api.js]"]
end

node_visitor(("Portal user"))
node_backend{{"Portal backend"}}

node_visitor -->|"opens"| node_app
node_app -->|"renders"| node_navbar
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_joblist
node_app -->|"routes to"| node_jobdetails
node_app -->|"routes to"| node_apply
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_register
node_app -->|"routes to"| node_profile
node_app -->|"routes to"| node_editprofile
node_app -->|"routes to"| node_studentdash
node_app -->|"routes to"| node_applications
node_app -->|"routes to"| node_recruiterdash
node_app -->|"routes to"| node_recruiterjobs
node_app -->|"routes to"| node_postjob
node_app -->|"routes to"| node_applicants
node_home -->|"renders"| node_search
node_joblist -->|"renders"| node_search
node_joblist -->|"fetches jobs"| node_api
node_joblist -->|"renders results"| node_jobcard
node_jobcard -->|"navigates to"| node_jobdetails
node_apply -->|"submits application"| node_api
node_login -->|"authenticates"| node_api
node_register -->|"registers account"| node_api
node_profile -->|"loads and uploads"| node_api
node_editprofile -->|"updates profile"| node_api
node_applications -->|"loads applications"| node_api
node_recruiterdash -->|"loads dashboard data"| node_api
node_applicants -->|"loads applicant data"| node_api
node_api -->|"sends HTTP requests"| node_backend

click node_app "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/App.jsx"
click node_navbar "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/components/Navbar/Navbar.jsx"
click node_home "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Home/Home.jsx"
click node_joblist "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/JobList/JobList.jsx"
click node_search "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/components/SearchBar/SearchBar.jsx"
click node_jobcard "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/components/JobCard/JobCard.jsx"
click node_jobdetails "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/JobDetails/JobDetails.jsx"
click node_apply "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/ApplyJob/ApplyJob.jsx"
click node_login "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Login/Login.jsx"
click node_register "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Register/Register.jsx"
click node_profile "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Profile/Profile.jsx"
click node_editprofile "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/EditProfile/EditProfile.jsx"
click node_studentdash "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/StudentDashboard/StudentDashboard.jsx"
click node_applications "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/MyApplications/MyApplications.jsx"
click node_recruiterdash "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/RecruiterDashboard/RecruiterDashboard.jsx"
click node_recruiterjobs "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/RecruiterJobs/RecruiterJobs.jsx"
click node_postjob "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/PostJob/PostJob.jsx"
click node_applicants "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Applicants/Applicants.jsx"
click node_api "https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/services/api.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_app,node_navbar,node_visitor toneBlue
class node_home,node_joblist,node_search,node_jobcard,node_jobdetails toneAmber
class node_apply,node_login,node_register,node_profile,node_editprofile,node_studentdash,node_applications toneMint
class node_recruiterdash,node_recruiterjobs,node_postjob,node_applicants toneRose
class node_api,node_backend toneIndigo
```

## Components

### App and navigation

- [Route application](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/App.jsx): `src/App.jsx`
- [Site navigation](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/components/Navbar/Navbar.jsx): `src/components/Navbar/Navbar.jsx`

### Job discovery

- [Home page](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Home/Home.jsx): `src/pages/Home/Home.jsx`
- [Job search](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/JobList/JobList.jsx): `src/pages/JobList/JobList.jsx`
- [Search input](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/components/SearchBar/SearchBar.jsx): `src/components/SearchBar/SearchBar.jsx`
- [Job listing card](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/components/JobCard/JobCard.jsx): `src/components/JobCard/JobCard.jsx`
- [Job details](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/JobDetails/JobDetails.jsx): `src/pages/JobDetails/JobDetails.jsx`

### Student features

- [Job application](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/ApplyJob/ApplyJob.jsx): `src/pages/ApplyJob/ApplyJob.jsx`
- [Sign in](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Login/Login.jsx): `src/pages/Login/Login.jsx`
- [Registration](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Register/Register.jsx): `src/pages/Register/Register.jsx`
- [Student profile](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Profile/Profile.jsx): `src/pages/Profile/Profile.jsx`
- [Edit profile](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/EditProfile/EditProfile.jsx): `src/pages/EditProfile/EditProfile.jsx`
- [Student dashboard](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/StudentDashboard/StudentDashboard.jsx): `src/pages/StudentDashboard/StudentDashboard.jsx`
- [My applications](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/MyApplications/MyApplications.jsx): `src/pages/MyApplications/MyApplications.jsx`

### Recruiter features

- [Recruiter dashboard](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/RecruiterDashboard/RecruiterDashboard.jsx): `src/pages/RecruiterDashboard/RecruiterDashboard.jsx`
- [Recruiter jobs](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/RecruiterJobs/RecruiterJobs.jsx): `src/pages/RecruiterJobs/RecruiterJobs.jsx`
- [Post a job](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/PostJob/PostJob.jsx): `src/pages/PostJob/PostJob.jsx`
- [Review applicants](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/pages/Applicants/Applicants.jsx): `src/pages/Applicants/Applicants.jsx`

### API access

- [HTTP client](https://github.com/yothisha18/career-connect-portal-v2/blob/main/src/services/api.js): `src/services/api.js`

### Other components

- **Portal user**
- **Portal backend**

## Connections

- Portal user → Route application: opens
- Route application → Site navigation: renders (evidence: `src/App.jsx`)
- Route application → Home page: routes to (evidence: `src/App.jsx`)
- Route application → Job search: routes to (evidence: `src/App.jsx`)
- Route application → Job details: routes to (evidence: `src/App.jsx`)
- Route application → Job application: routes to (evidence: `src/App.jsx`)
- Route application → Sign in: routes to (evidence: `src/App.jsx`)
- Route application → Registration: routes to (evidence: `src/App.jsx`)
- Route application → Student profile: routes to (evidence: `src/App.jsx`)
- Route application → Edit profile: routes to (evidence: `src/App.jsx`)
- Route application → Student dashboard: routes to (evidence: `src/App.jsx`)
- Route application → My applications: routes to (evidence: `src/App.jsx`)
- Route application → Recruiter dashboard: routes to (evidence: `src/App.jsx`)
- Route application → Recruiter jobs: routes to (evidence: `src/App.jsx`)
- Route application → Post a job: routes to (evidence: `src/App.jsx`)
- Route application → Review applicants: routes to (evidence: `src/App.jsx`)
- Home page → Search input: renders (evidence: `src/pages/Home/Home.jsx`)
- Job search → Search input: renders (evidence: `src/pages/JobList/JobList.jsx`)
- Job search → HTTP client: fetches jobs (evidence: `src/pages/JobList/JobList.jsx`)
- Job search → Job listing card: renders results (evidence: `src/pages/JobList/JobList.jsx`)
- Job listing card → Job details: navigates to (evidence: `src/components/JobCard/JobCard.jsx`)
- Job application → HTTP client: submits application (evidence: `src/pages/ApplyJob/ApplyJob.jsx`)
- Sign in → HTTP client: authenticates (evidence: `src/pages/Login/Login.jsx`)
- Registration → HTTP client: registers account (evidence: `src/pages/Register/Register.jsx`)
- Student profile → HTTP client: loads and uploads (evidence: `src/pages/Profile/Profile.jsx`)
- Edit profile → HTTP client: updates profile (evidence: `src/pages/EditProfile/EditProfile.jsx`)
- My applications → HTTP client: loads applications (evidence: `src/pages/MyApplications/MyApplications.jsx`)
- Recruiter dashboard → HTTP client: loads dashboard data (evidence: `src/pages/RecruiterDashboard/RecruiterDashboard.jsx`)
- Review applicants → HTTP client: loads applicant data (evidence: `src/pages/Applicants/Applicants.jsx`)
- HTTP client → Portal backend: sends HTTP requests (evidence: `src/services/api.js`)
