# satputesarang33-glitch/hirebridghr-01 architecture

> Architecture diagram of the GitHub repository satputesarang33-glitch/hirebridghr-01, 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/satputesarang33-glitch/hirebridghr-01
- Repository: https://github.com/satputesarang33-glitch/hirebridghr-01

## Overview

HireBridgeHR is a recruiting and applicant-tracking platform: employers manage jobs, candidates, applications and hiring stages, while candidates can discover jobs and apply through a portal. The frontend routes user experiences and includes an application pipeline; the backend exposes API routes, authenticates requests, and persists domain data in Firebase Firestore. The tree also shows broader capabilities such as interviews, assessments, offers, billing, compliance, sourcing, distribution, analytics and enterprise administration. Some of these implementations were not sampled, so their internal relationships are not asserted.

Main entry points: [`backend/Routes`](https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/backend/Routes) (API routes), [`backend/Controller/storageController.js`](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/storageController.js) (Storage controller), [`backend/Model/User.js`](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Model/User.js) (User model), [`frontend/src/App.js`](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/frontend/src/App.js) (Frontend app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["User experience"]
  node_app["Frontend app<br/>[App.js]"]
  node_routes_ui["App routes<br/>[AppRoutes.js]"]
end

subgraph group_hiring["Hiring workflows"]
  node_pipeline["Application pipeline<br/>[PipelinePage.js]"]
  node_hooks["Hiring data hooks"]
  node_frontend_services["Frontend services"]
  node_api_client["API client<br/>[apiClient.js]"]
  node_hiring_controllers["Hiring controllers"]
  node_application_controller["Application controller"]
  node_candidate_controller["Candidate controller"]
  node_job_controller["Job controller<br/>[jobController.js]"]
  node_resume_parser["Resume parsing"]
end

subgraph group_platform["Backend platform"]
  node_server["API server<br/>[server.js]"]
  node_routes_api["API routes"]
  node_auth["Authentication<br/>[authController.js]"]
  node_auth_middleware["Authorization middleware<br/>[authMiddleware.js]"]
  node_storage_routes["File upload routes<br/>[storageRoutes.js]"]
  node_storage_controller["Storage controller"]
end

subgraph group_data["Persistence"]
  node_models["Domain models"]
  node_application_model["Application model<br/>[Application.js]"]
  node_user_model["User model<br/>[User.js]"]
  node_database[("Firestore and Firebase services<br/>[connetdb.js]")]
  node_storage_service["File storage<br/>[storageService.js]"]
end

subgraph group_capabilities["Platform capabilities"]
  node_other_capabilities["Additional recruiting features"]
end

node_employer(("Recruiter"))
node_candidate(("Job candidate"))

node_employer -->|"uses"| node_app
node_candidate -->|"uses"| node_app
node_app -->|"renders"| node_routes_ui
node_routes_ui -->|"routes to"| node_pipeline
node_pipeline -->|"uses"| node_hooks
node_hooks -->|"uses"| node_frontend_services
node_frontend_services -->|"uses"| node_api_client
node_api_client -.->|"sends API requests"| node_server
node_server -->|"mounts"| node_routes_api
node_routes_api -->|"routes requests"| node_auth
node_routes_api -->|"routes requests"| node_hiring_controllers
node_routes_api -->|"applies"| node_auth_middleware
node_routes_api -->|"routes uploads"| node_storage_controller
node_storage_routes -->|"routes requests"| node_storage_controller
node_storage_routes -->|"uses upload middleware"| node_storage_service
node_hiring_controllers -->|"uses"| node_application_model
node_candidate_controller -->|"reads applications"| node_application_model
node_candidate_controller -->|"uses"| node_user_model
node_job_controller -->|"uses domain models"| node_models
node_auth -->|"uses"| node_user_model
node_auth_middleware -->|"verifies users"| node_user_model
node_application_model -->|"reads and writes"| node_database
node_user_model -->|"uses"| node_database
node_storage_controller -->|"uploads files"| node_storage_service
node_storage_controller -->|"parses resumes"| node_resume_parser
node_storage_service -->|"uses storage"| node_database

click node_app "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/frontend/src/App.js"
click node_routes_ui "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/frontend/src/routes/AppRoutes.js"
click node_pipeline "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/frontend/src/pages/applications/PipelinePage.js"
click node_hooks "https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/frontend/src/hooks"
click node_frontend_services "https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/frontend/src/services"
click node_api_client "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/frontend/src/services/api/apiClient.js"
click node_server "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/server.js"
click node_routes_api "https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/backend/Routes"
click node_auth "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/authController.js"
click node_auth_middleware "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Middleware/authMiddleware.js"
click node_hiring_controllers "https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/backend/Controller"
click node_application_controller "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/applicationController.js"
click node_candidate_controller "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/candidateController.js"
click node_job_controller "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/jobController.js"
click node_models "https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/backend/Model"
click node_application_model "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Model/Application.js"
click node_user_model "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Model/User.js"
click node_database "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Config/connetdb.js"
click node_storage_routes "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Routes/storageRoutes.js"
click node_storage_controller "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/storageController.js"
click node_storage_service "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Services/storageService.js"
click node_resume_parser "https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Services/resumeParserService.js"
click node_other_capabilities "https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/backend/Controller"

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_routes_ui toneBlue
class node_pipeline,node_hooks,node_frontend_services,node_api_client,node_hiring_controllers,node_application_controller,node_candidate_controller,node_job_controller,node_resume_parser toneAmber
class node_server,node_routes_api,node_auth,node_auth_middleware,node_storage_routes,node_storage_controller toneMint
class node_models,node_application_model,node_user_model,node_database,node_storage_service toneRose
class node_other_capabilities,node_employer,node_candidate toneIndigo
```

## Components

### User experience

- [Frontend app](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/frontend/src/App.js): `frontend/src/App.js`
- [App routes](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/frontend/src/routes/AppRoutes.js): `frontend/src/routes/AppRoutes.js`

### Hiring workflows

- [Application pipeline](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/frontend/src/pages/applications/PipelinePage.js): `frontend/src/pages/applications/PipelinePage.js`
- [Hiring data hooks](https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/frontend/src/hooks): `frontend/src/hooks`
- [Frontend services](https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/frontend/src/services): `frontend/src/services`
- [API client](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/frontend/src/services/api/apiClient.js): `frontend/src/services/api/apiClient.js`
- [Hiring controllers](https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/backend/Controller): `backend/Controller`
- [Application controller](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/applicationController.js): `backend/Controller/applicationController.js`
- [Candidate controller](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/candidateController.js): `backend/Controller/candidateController.js`
- [Job controller](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/jobController.js): `backend/Controller/jobController.js`
- [Resume parsing](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Services/resumeParserService.js): `backend/Services/resumeParserService.js`

### Backend platform

- [API server](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/server.js): `backend/server.js`
- [API routes](https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/backend/Routes): `backend/Routes`
- [Authentication](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/authController.js): `backend/Controller/authController.js`
- [Authorization middleware](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Middleware/authMiddleware.js): `backend/Middleware/authMiddleware.js`
- [File upload routes](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Routes/storageRoutes.js): `backend/Routes/storageRoutes.js`
- [Storage controller](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Controller/storageController.js): `backend/Controller/storageController.js`

### Persistence

- [Domain models](https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/backend/Model): `backend/Model`
- [Application model](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Model/Application.js): `backend/Model/Application.js`
- [User model](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Model/User.js): `backend/Model/User.js`
- [Firestore and Firebase services](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Config/connetdb.js): `backend/Config/connetdb.js`
- [File storage](https://github.com/satputesarang33-glitch/hirebridghr-01/blob/main/backend/Services/storageService.js): `backend/Services/storageService.js`

### Platform capabilities

- [Additional recruiting features](https://github.com/satputesarang33-glitch/hirebridghr-01/tree/main/backend/Controller): `backend/Controller`

### Other components

- **Recruiter**
- **Job candidate**

## Connections

- Recruiter → Frontend app: uses
- Job candidate → Frontend app: uses
- Frontend app → App routes: renders (evidence: `frontend/src/App.js`)
- App routes → Application pipeline: routes to (evidence: `frontend/src/routes/AppRoutes.js`)
- Application pipeline → Hiring data hooks: uses (evidence: `frontend/src/pages/applications/PipelinePage.js`)
- Hiring data hooks → Frontend services: uses (evidence: `frontend/src/hooks/useCandidates.js`)
- Frontend services → API client: uses (evidence: `frontend/src/services/authService.js`)
- API client → API server: sends API requests
- API server → API routes: mounts (evidence: `backend/server.js`)
- API routes → Authentication: routes requests (evidence: `backend/Routes/authRoutes.js`)
- API routes → Hiring controllers: routes requests (evidence: `backend/Routes/applicationRoutes.js`)
- API routes → Authorization middleware: applies (evidence: `backend/Routes/applicationRoutes.js`)
- API routes → Storage controller: routes uploads (evidence: `backend/Routes/storageRoutes.js`)
- File upload routes → Storage controller: routes requests (evidence: `backend/Routes/storageRoutes.js`)
- File upload routes → File storage: uses upload middleware (evidence: `backend/Routes/storageRoutes.js`)
- Hiring controllers → Application model: uses (evidence: `backend/Controller/applicationController.js`)
- Candidate controller → Application model: reads applications (evidence: `backend/Controller/candidateController.js`)
- Candidate controller → User model: uses (evidence: `backend/Controller/candidateController.js`)
- Job controller → Domain models: uses domain models (evidence: `backend/Controller/jobController.js`)
- Authentication → User model: uses (evidence: `backend/Controller/authController.js`)
- Authorization middleware → User model: verifies users (evidence: `backend/Middleware/authMiddleware.js`)
- Application model → Firestore and Firebase services: reads and writes (evidence: `backend/Model/Application.js`)
- User model → Firestore and Firebase services: uses (evidence: `backend/Model/User.js`)
- Storage controller → File storage: uploads files (evidence: `backend/Controller/storageController.js`)
- Storage controller → Resume parsing: parses resumes (evidence: `backend/Controller/storageController.js`)
- File storage → Firestore and Firebase services: uses storage (evidence: `backend/Services/storageService.js`)
