# likith-reddy25/jobhook-find-your-job architecture

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

- Interactive diagram: https://gitdiagram.com/likith-reddy25/jobhook-find-your-job
- Repository: https://github.com/likith-reddy25/jobhook-find-your-job

## Overview

JobHook is a React and Spring Boot job portal for candidates and employers. Users enter through the routed frontend, authenticate, then browse and apply for jobs or manage postings and candidate profiles; backend APIs support these workflows through services and persistent storage. The README documents the broad REST, security, JPA, and MySQL architecture, but most endpoint and service implementations were not sampled, so those internal connections are shown as unverified where needed.

Main entry points: [`frontend/src/Pages/AppRoutes.tsx`](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/frontend/src/Pages/AppRoutes.tsx) (App routes), [`backend/src/main/java/com/jobportal/api/JobAPI.java`](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/api/JobAPI.java) (Job API), [`backend/src/main/java/com/jobportal/service/JobServiceImpl.java`](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/service/JobServiceImpl.java) (Job workflows), [`backend/src/main/java/com/jobportal/service/ProfileServiceImpl.java`](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/service/ProfileServiceImpl.java) (Profile workflows)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Frontend experience"]
  node_routes["App routes<br/>[AppRoutes.tsx]"]
  node_job_discovery["Job discovery"]
  node_job_application["Apply to job"]
  node_employer_tools["Employer tools"]
  node_talent_search["Talent search"]
end

subgraph group_identity["Identity and access"]
  node_client_auth["Auth client<br/>[AuthService.tsx]"]
  node_http_auth["HTTP interceptor"]
  node_auth_api["Auth API<br/>[AuthAPI.java]"]
  node_jwt_security["JWT security"]
  node_user_service["User service"]
end

subgraph group_jobs["Jobs and applications"]
  node_job_api["Job API<br/>[JobAPI.java]"]
  node_job_service["Job workflows"]
  node_job_data["Job data model<br/>[Job.java]"]
end

subgraph group_people["Profiles and notifications"]
  node_profile_api["Profile API<br/>[ProfileAPI.java]"]
  node_profile_service["Profile workflows"]
  node_notification_api["Notification API"]
  node_notification_service["Notifications"]
  node_user_data["User data model<br/>[User.java]"]
end

subgraph group_persistence["Backend persistence"]
  node_job_repository["Job repository<br/>[JobRepository.java]"]
  node_database[("MySQL database")]
end

node_candidate(("Candidate"))
node_employer(("Employer"))

node_candidate -->|"uses"| node_routes
node_employer -->|"uses"| node_routes
node_routes -->|"routes to"| node_job_discovery
node_routes -->|"routes to"| node_job_application
node_routes -->|"routes to"| node_employer_tools
node_routes -->|"routes to"| node_talent_search
node_routes -.->|"routes to"| node_client_auth
node_job_discovery -.->|"requests jobs"| node_job_api
node_job_application -.->|"submits application"| node_job_api
node_employer_tools -.->|"manages postings"| node_job_api
node_talent_search -.->|"searches talent"| node_profile_api
node_client_auth -.->|"uses"| node_http_auth
node_http_auth -.->|"sends REST requests"| node_auth_api
node_auth_api -.->|"delegates"| node_user_service
node_jwt_security -->|"loads user"| node_user_service
node_job_api -.->|"delegates"| node_job_service
node_job_service -.->|"queries jobs"| node_job_repository
node_job_repository -->|"persists"| node_database
node_job_service -.->|"maps jobs"| node_job_data
node_profile_api -.->|"delegates"| node_profile_service
node_profile_service -.->|"manages profiles"| node_user_data
node_notification_api -.->|"delegates"| node_notification_service
node_user_service -.->|"persists users"| node_database
node_profile_service -.->|"persists profiles"| node_database
node_notification_service -.->|"persists notifications"| node_database

click node_routes "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/frontend/src/Pages/AppRoutes.tsx"
click node_job_discovery "https://github.com/likith-reddy25/jobhook-find-your-job/tree/main/frontend/src/Components/FindJobs"
click node_job_application "https://github.com/likith-reddy25/jobhook-find-your-job/tree/main/frontend/src/Components/ApplyJob"
click node_employer_tools "https://github.com/likith-reddy25/jobhook-find-your-job/tree/main/frontend/src/Components/PostJob"
click node_talent_search "https://github.com/likith-reddy25/jobhook-find-your-job/tree/main/frontend/src/Components/FindTalent"
click node_client_auth "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/frontend/src/Services/AuthService.tsx"
click node_http_auth "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/frontend/src/Interceptor/AxiosInterceptor.tsx"
click node_auth_api "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/api/AuthAPI.java"
click node_jwt_security "https://github.com/likith-reddy25/jobhook-find-your-job/tree/main/backend/src/main/java/com/jobportal/jwt"
click node_user_service "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/service/UserServiceImpl.java"
click node_job_api "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/api/JobAPI.java"
click node_job_service "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/service/JobServiceImpl.java"
click node_job_data "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/entity/Job.java"
click node_job_repository "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/repository/JobRepository.java"
click node_profile_api "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/api/ProfileAPI.java"
click node_profile_service "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/service/ProfileServiceImpl.java"
click node_notification_api "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/api/NotificationAPI.java"
click node_notification_service "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/service/NotificationServiceImpl.java"
click node_user_data "https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/entity/User.java"

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_routes,node_job_discovery,node_job_application,node_employer_tools,node_talent_search toneBlue
class node_client_auth,node_http_auth,node_auth_api,node_jwt_security,node_user_service toneAmber
class node_job_api,node_job_service,node_job_data toneMint
class node_profile_api,node_profile_service,node_notification_api,node_notification_service,node_user_data toneRose
class node_job_repository,node_database,node_candidate,node_employer toneIndigo
```

## Components

### Frontend experience

- [App routes](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/frontend/src/Pages/AppRoutes.tsx): `frontend/src/Pages/AppRoutes.tsx`
- [Job discovery](https://github.com/likith-reddy25/jobhook-find-your-job/tree/main/frontend/src/Components/FindJobs): `frontend/src/Components/FindJobs`
- [Apply to job](https://github.com/likith-reddy25/jobhook-find-your-job/tree/main/frontend/src/Components/ApplyJob): `frontend/src/Components/ApplyJob`
- [Employer tools](https://github.com/likith-reddy25/jobhook-find-your-job/tree/main/frontend/src/Components/PostJob): `frontend/src/Components/PostJob`
- [Talent search](https://github.com/likith-reddy25/jobhook-find-your-job/tree/main/frontend/src/Components/FindTalent): `frontend/src/Components/FindTalent`

### Identity and access

- [Auth client](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/frontend/src/Services/AuthService.tsx): `frontend/src/Services/AuthService.tsx`
- [HTTP interceptor](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/frontend/src/Interceptor/AxiosInterceptor.tsx): `frontend/src/Interceptor/AxiosInterceptor.tsx`
- [Auth API](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/api/AuthAPI.java): `backend/src/main/java/com/jobportal/api/AuthAPI.java`
- [JWT security](https://github.com/likith-reddy25/jobhook-find-your-job/tree/main/backend/src/main/java/com/jobportal/jwt): `backend/src/main/java/com/jobportal/jwt`
- [User service](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/service/UserServiceImpl.java): `backend/src/main/java/com/jobportal/service/UserServiceImpl.java`

### Jobs and applications

- [Job API](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/api/JobAPI.java): `backend/src/main/java/com/jobportal/api/JobAPI.java`
- [Job workflows](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/service/JobServiceImpl.java): `backend/src/main/java/com/jobportal/service/JobServiceImpl.java`
- [Job data model](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/entity/Job.java): `backend/src/main/java/com/jobportal/entity/Job.java`

### Profiles and notifications

- [Profile API](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/api/ProfileAPI.java): `backend/src/main/java/com/jobportal/api/ProfileAPI.java`
- [Profile workflows](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/service/ProfileServiceImpl.java): `backend/src/main/java/com/jobportal/service/ProfileServiceImpl.java`
- [Notification API](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/api/NotificationAPI.java): `backend/src/main/java/com/jobportal/api/NotificationAPI.java`
- [Notifications](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/service/NotificationServiceImpl.java): `backend/src/main/java/com/jobportal/service/NotificationServiceImpl.java`
- [User data model](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/entity/User.java): `backend/src/main/java/com/jobportal/entity/User.java`

### Backend persistence

- [Job repository](https://github.com/likith-reddy25/jobhook-find-your-job/blob/main/backend/src/main/java/com/jobportal/repository/JobRepository.java): `backend/src/main/java/com/jobportal/repository/JobRepository.java`
- **MySQL database**

### Other components

- **Candidate**
- **Employer**

## Connections

- Candidate → App routes: uses (evidence: `README.md`)
- Employer → App routes: uses (evidence: `README.md`)
- App routes → Job discovery: routes to (evidence: `frontend/src/Pages/AppRoutes.tsx`)
- App routes → Apply to job: routes to (evidence: `frontend/src/Pages/AppRoutes.tsx`)
- App routes → Employer tools: routes to (evidence: `frontend/src/Pages/AppRoutes.tsx`)
- App routes → Talent search: routes to (evidence: `frontend/src/Pages/AppRoutes.tsx`)
- App routes → Auth client: routes to
- Job discovery → Job API: requests jobs
- Apply to job → Job API: submits application
- Employer tools → Job API: manages postings
- Talent search → Profile API: searches talent
- Auth client → HTTP interceptor: uses
- HTTP interceptor → Auth API: sends REST requests (evidence: `README.md`)
- Auth API → User service: delegates
- JWT security → User service: loads user (evidence: `backend/src/main/java/com/jobportal/jwt/MyUserDetailsService.java`)
- Job API → Job workflows: delegates
- Job workflows → Job repository: queries jobs
- Job repository → MySQL database: persists (evidence: `README.md`)
- Job workflows → Job data model: maps jobs
- Profile API → Profile workflows: delegates
- Profile workflows → User data model: manages profiles
- Notification API → Notifications: delegates
- User service → MySQL database: persists users
- Profile workflows → MySQL database: persists profiles
- Notifications → MySQL database: persists notifications
