# thejobsyncit/sir architecture

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

- Interactive diagram: https://gitdiagram.com/thejobsyncit/sir
- Repository: https://github.com/thejobsyncit/sir

## Overview

SIR Recruitment is a full-stack recruitment, HR consultancy, and education-advisory platform. Visitors explore services and specialist tools, submit enquiries or applications, and candidates and clients can use portal workflows; staff operate recruitment CRM and content-management ERP interfaces. The README documents visa eligibility, verification, payments, and AI tools, but their detailed wiring is not shown in the sampled source. The map uses documented capabilities and explicit source references; unsampled relationships are omitted rather than inferred.

Main entry points: [`src/App.jsx`](https://github.com/thejobsyncit/sir/blob/main/src/App.jsx) (Public Site Router), [`src/pages/EducationServiceDetail.jsx`](https://github.com/thejobsyncit/sir/blob/main/src/pages/EducationServiceDetail.jsx) (Education Service Detail), [`server/clientPortalRoutes.js`](https://github.com/thejobsyncit/sir/blob/main/server/clientPortalRoutes.js) (Client Portal API), [`src/components/ServiceEnquiryModal.jsx`](https://github.com/thejobsyncit/sir/blob/main/src/components/ServiceEnquiryModal.jsx) (Service Enquiry Form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Public Experience"]
  node_entry["Application Entry<br/>[main.jsx]"]
  node_site["Public Site Router<br/>[App.jsx]"]
  node_services["Recruitment Services<br/>[Services.jsx]"]
  node_jobs["Job Portal<br/>[JobsPage.jsx]"]
  node_candidate["Candidate Portal"]
  node_visa["Visa Eligibility"]
  node_verification["Background Verification"]
  node_payment["Payment Gateway"]
  node_ai["AI Career Tools"]
end

subgraph group_education["Education Advisory"]
  node_educationdetail["Education Service Detail"]
  node_educationcatalog["Education Catalogue"]
  node_college["College Admissions"]
  node_international["International Admissions"]
  node_consulting["International Consulting"]
  node_seminars["Seminars and Language"]
end

subgraph group_operations["Recruitment Operations"]
  node_crm["Recruitment CRM<br/>[CrmApp.jsx]"]
  node_crmcontext["CRM Operations State<br/>[CrmContext.jsx]"]
  node_erp["Content ERP<br/>[ErpApp.jsx]"]
end

subgraph group_portals["Client Services"]
  node_clientapi["Client Portal API"]
  node_workflow["Service Workflows"]
end

subgraph group_platform["Platform Services"]
  node_database[("Application Database<br/>[database.js]")]
  node_enquiry["Service Enquiry Form"]
  node_leadservice["Lead Submission Service"]
  node_analytics["Analytics Tracking<br/>[analytics.js]"]
end

node_visitor(("Visitor or Candidate"))

node_visitor -->|"opens"| node_entry
node_entry -->|"renders"| node_site
node_site -->|"routes to"| node_services
node_site -->|"routes to"| node_jobs
node_site -->|"routes to"| node_candidate
node_site -->|"routes to"| node_visa
node_site -->|"routes to"| node_verification
node_site -->|"renders"| node_payment
node_site -->|"renders"| node_ai
node_site -->|"routes to"| node_educationdetail
node_educationdetail -->|"reads"| node_educationcatalog
node_educationdetail -->|"routes to"| node_college
node_educationdetail -->|"routes to"| node_international
node_site -->|"routes to"| node_international
node_site -->|"routes to"| node_consulting
node_site -->|"routes to"| node_seminars
node_site -->|"dispatches"| node_crm
node_site -->|"dispatches"| node_erp
node_crm -->|"uses state"| node_crmcontext
node_clientapi -->|"queries"| node_database
node_clientapi -->|"gets workflow"| node_workflow
node_enquiry -->|"submits lead"| node_leadservice
node_enquiry -->|"tracks conversion"| node_analytics
node_visitor -->|"explores services"| node_services
node_visitor -->|"searches jobs"| node_jobs
node_visitor -->|"tracks applications"| node_candidate
node_visitor -->|"pays online"| node_payment
node_visitor -->|"uses tools"| node_ai

click node_entry "https://github.com/thejobsyncit/sir/blob/main/src/main.jsx"
click node_site "https://github.com/thejobsyncit/sir/blob/main/src/App.jsx"
click node_services "https://github.com/thejobsyncit/sir/blob/main/src/pages/Services.jsx"
click node_jobs "https://github.com/thejobsyncit/sir/blob/main/src/pages/JobsPage.jsx"
click node_candidate "https://github.com/thejobsyncit/sir/blob/main/src/pages/CandidatePortal.jsx"
click node_visa "https://github.com/thejobsyncit/sir/blob/main/src/pages/VisaEligibilityPage.jsx"
click node_verification "https://github.com/thejobsyncit/sir/blob/main/src/pages/BackgroundVerificationPage.jsx"
click node_payment "https://github.com/thejobsyncit/sir/blob/main/src/components/PaymentGatewayModal.jsx"
click node_ai "https://github.com/thejobsyncit/sir/blob/main/src/components/AIChatbotDrawer.jsx"
click node_educationdetail "https://github.com/thejobsyncit/sir/blob/main/src/pages/EducationServiceDetail.jsx"
click node_educationcatalog "https://github.com/thejobsyncit/sir/blob/main/src/data/educationServicesData.js"
click node_college "https://github.com/thejobsyncit/sir/blob/main/src/pages/CollegeAdmissionsPage.jsx"
click node_international "https://github.com/thejobsyncit/sir/blob/main/src/pages/InternationalAdmissionsPage.jsx"
click node_consulting "https://github.com/thejobsyncit/sir/blob/main/src/pages/InternationalConsultingPage.jsx"
click node_seminars "https://github.com/thejobsyncit/sir/blob/main/src/pages/SeminarsAndLanguagePage.jsx"
click node_crm "https://github.com/thejobsyncit/sir/blob/main/src/crm/CrmApp.jsx"
click node_crmcontext "https://github.com/thejobsyncit/sir/blob/main/src/crm/context/CrmContext.jsx"
click node_erp "https://github.com/thejobsyncit/sir/blob/main/src/erp/ErpApp.jsx"
click node_clientapi "https://github.com/thejobsyncit/sir/blob/main/server/clientPortalRoutes.js"
click node_workflow "https://github.com/thejobsyncit/sir/blob/main/src/data/clientPortalWorkflows.js"
click node_database "https://github.com/thejobsyncit/sir/blob/main/server/database.js"
click node_enquiry "https://github.com/thejobsyncit/sir/blob/main/src/components/ServiceEnquiryModal.jsx"
click node_leadservice "https://github.com/thejobsyncit/sir/blob/main/src/services/leadSubmissionService.js"
click node_analytics "https://github.com/thejobsyncit/sir/blob/main/src/services/analytics.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_entry,node_site,node_services,node_jobs,node_candidate,node_visa,node_verification,node_payment,node_ai toneBlue
class node_educationdetail,node_educationcatalog,node_college,node_international,node_consulting,node_seminars toneAmber
class node_crm,node_crmcontext,node_erp toneMint
class node_clientapi,node_workflow toneRose
class node_database,node_enquiry,node_leadservice,node_analytics,node_visitor toneIndigo
```

## Components

### Public Experience

- [Application Entry](https://github.com/thejobsyncit/sir/blob/main/src/main.jsx): `src/main.jsx`
- [Public Site Router](https://github.com/thejobsyncit/sir/blob/main/src/App.jsx): `src/App.jsx`
- [Recruitment Services](https://github.com/thejobsyncit/sir/blob/main/src/pages/Services.jsx): `src/pages/Services.jsx`
- [Job Portal](https://github.com/thejobsyncit/sir/blob/main/src/pages/JobsPage.jsx): `src/pages/JobsPage.jsx`
- [Candidate Portal](https://github.com/thejobsyncit/sir/blob/main/src/pages/CandidatePortal.jsx): `src/pages/CandidatePortal.jsx`
- [Visa Eligibility](https://github.com/thejobsyncit/sir/blob/main/src/pages/VisaEligibilityPage.jsx): `src/pages/VisaEligibilityPage.jsx`
- [Background Verification](https://github.com/thejobsyncit/sir/blob/main/src/pages/BackgroundVerificationPage.jsx): `src/pages/BackgroundVerificationPage.jsx`
- [Payment Gateway](https://github.com/thejobsyncit/sir/blob/main/src/components/PaymentGatewayModal.jsx): `src/components/PaymentGatewayModal.jsx`
- [AI Career Tools](https://github.com/thejobsyncit/sir/blob/main/src/components/AIChatbotDrawer.jsx): `src/components/AIChatbotDrawer.jsx`

### Education Advisory

- [Education Service Detail](https://github.com/thejobsyncit/sir/blob/main/src/pages/EducationServiceDetail.jsx): `src/pages/EducationServiceDetail.jsx`
- [Education Catalogue](https://github.com/thejobsyncit/sir/blob/main/src/data/educationServicesData.js): `src/data/educationServicesData.js`
- [College Admissions](https://github.com/thejobsyncit/sir/blob/main/src/pages/CollegeAdmissionsPage.jsx): `src/pages/CollegeAdmissionsPage.jsx`
- [International Admissions](https://github.com/thejobsyncit/sir/blob/main/src/pages/InternationalAdmissionsPage.jsx): `src/pages/InternationalAdmissionsPage.jsx`
- [International Consulting](https://github.com/thejobsyncit/sir/blob/main/src/pages/InternationalConsultingPage.jsx): `src/pages/InternationalConsultingPage.jsx`
- [Seminars and Language](https://github.com/thejobsyncit/sir/blob/main/src/pages/SeminarsAndLanguagePage.jsx): `src/pages/SeminarsAndLanguagePage.jsx`

### Recruitment Operations

- [Recruitment CRM](https://github.com/thejobsyncit/sir/blob/main/src/crm/CrmApp.jsx): `src/crm/CrmApp.jsx`
- [CRM Operations State](https://github.com/thejobsyncit/sir/blob/main/src/crm/context/CrmContext.jsx): `src/crm/context/CrmContext.jsx`
- [Content ERP](https://github.com/thejobsyncit/sir/blob/main/src/erp/ErpApp.jsx): `src/erp/ErpApp.jsx`

### Client Services

- [Client Portal API](https://github.com/thejobsyncit/sir/blob/main/server/clientPortalRoutes.js): `server/clientPortalRoutes.js`
- [Service Workflows](https://github.com/thejobsyncit/sir/blob/main/src/data/clientPortalWorkflows.js): `src/data/clientPortalWorkflows.js`

### Platform Services

- [Application Database](https://github.com/thejobsyncit/sir/blob/main/server/database.js): `server/database.js`
- [Service Enquiry Form](https://github.com/thejobsyncit/sir/blob/main/src/components/ServiceEnquiryModal.jsx): `src/components/ServiceEnquiryModal.jsx`
- [Lead Submission Service](https://github.com/thejobsyncit/sir/blob/main/src/services/leadSubmissionService.js): `src/services/leadSubmissionService.js`
- [Analytics Tracking](https://github.com/thejobsyncit/sir/blob/main/src/services/analytics.js): `src/services/analytics.js`

### Other components

- **Visitor or Candidate**

## Connections

- Visitor or Candidate → Application Entry: opens (evidence: `README.md`)
- Application Entry → Public Site Router: renders (evidence: `src/main.jsx`)
- Public Site Router → Recruitment Services: routes to (evidence: `src/App.jsx`)
- Public Site Router → Job Portal: routes to (evidence: `README.md`)
- Public Site Router → Candidate Portal: routes to (evidence: `src/App.jsx`)
- Public Site Router → Visa Eligibility: routes to (evidence: `README.md`)
- Public Site Router → Background Verification: routes to (evidence: `README.md`)
- Public Site Router → Payment Gateway: renders (evidence: `src/App.jsx`)
- Public Site Router → AI Career Tools: renders (evidence: `src/App.jsx`)
- Public Site Router → Education Service Detail: routes to (evidence: `src/App.jsx`)
- Education Service Detail → Education Catalogue: reads (evidence: `src/pages/EducationServiceDetail.jsx`)
- Education Service Detail → College Admissions: routes to (evidence: `src/pages/EducationServiceDetail.jsx`)
- Education Service Detail → International Admissions: routes to (evidence: `src/pages/EducationServiceDetail.jsx`)
- Public Site Router → International Admissions: routes to (evidence: `src/App.jsx`)
- Public Site Router → International Consulting: routes to (evidence: `src/App.jsx`)
- Public Site Router → Seminars and Language: routes to (evidence: `src/App.jsx`)
- Public Site Router → Recruitment CRM: dispatches (evidence: `src/App.jsx`)
- Public Site Router → Content ERP: dispatches (evidence: `src/App.jsx`)
- Recruitment CRM → CRM Operations State: uses state (evidence: `src/crm/CrmApp.jsx`)
- Client Portal API → Application Database: queries (evidence: `server/clientPortalRoutes.js`)
- Client Portal API → Service Workflows: gets workflow (evidence: `server/clientPortalRoutes.js`)
- Service Enquiry Form → Lead Submission Service: submits lead (evidence: `src/components/ServiceEnquiryModal.jsx`)
- Service Enquiry Form → Analytics Tracking: tracks conversion (evidence: `src/components/ServiceEnquiryModal.jsx`)
- Visitor or Candidate → Recruitment Services: explores services (evidence: `README.md`)
- Visitor or Candidate → Job Portal: searches jobs (evidence: `README.md`)
- Visitor or Candidate → Candidate Portal: tracks applications (evidence: `README.md`)
- Visitor or Candidate → Payment Gateway: pays online (evidence: `README.md`)
- Visitor or Candidate → AI Career Tools: uses tools (evidence: `README.md`)
