# nkoushik30/placement_management_system architecture

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

- Interactive diagram: https://gitdiagram.com/nkoushik30/placement_management_system
- Repository: https://github.com/nkoushik30/placement_management_system

## Overview

This Salesforce application combines hospital/patient management with student hiring and placement experiences. Users view patient data through a Lightning component and can interact with patient records; hiring components present role details, let users start an application, and collect student details. The tree also shows Apex classes, record-triggered components, flows, and custom objects, but their runtime connections are not established by the sampled source. Edges are limited to relationships visible in excerpts; the other listed subsystems are shown without guessed connections.

Main entry points: [`force-app/main/default/lwc/jobApplication/jobApplication.js`](https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/jobApplication/jobApplication.js) (Apply navigation), [`force-app/main/default/lwc/patientParent`](https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/lwc/patientParent) (Patient components), [`force-app/main/default/lwc/hospitalMgmt/hospitalMgmt.js`](https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/hospitalMgmt/hospitalMgmt.js) (Patient list), [`force-app/main/default/lwc/jobDescription/jobDescription.js`](https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/jobDescription/jobDescription.js) (Role details)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hospital["Hospital management"]
  node_hospital_ui["Patient list<br/>[hospitalMgmt.js]"]
  node_patient_pair["Patient components"]
end

subgraph group_hiring["Hiring and placement"]
  node_job_description["Role details<br/>[jobDescription.js]"]
  node_job_application["Apply navigation<br/>[jobApplication.js]"]
  node_student_form["Student application form"]
  node_placement_summary["Placement summary"]
end

subgraph group_logic["Apex and automation"]
  node_patient_api["Patient controller"]
  node_apex_services["Apex services"]
  node_triggers["Record triggers"]
  node_flows["Business flows"]
end

subgraph group_data["Salesforce data"]
  node_hiring_records[("Hiring records")]
  node_hospital_records[("Hospital records")]
end

node_user(("User"))
node_platform_record_api["Record API"]

node_user -->|"views"| node_hospital_ui
node_hospital_ui -->|"calls"| node_patient_api
node_user -->|"views"| node_job_description
node_job_description -->|"reads role"| node_platform_record_api
node_user -->|"applies"| node_job_application
node_job_application -->|"reads role"| node_platform_record_api
node_job_application -->|"navigates to new"| node_hiring_records
node_user -->|"submits details"| node_student_form
node_patient_pair -->|"reads patient"| node_platform_record_api
node_patient_pair -.->|"notifies parent"| node_patient_pair

click node_hospital_ui "https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/hospitalMgmt/hospitalMgmt.js"
click node_patient_api "https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/classes/PatientController.cls"
click node_patient_pair "https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/lwc/patientParent"
click node_job_description "https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/jobDescription/jobDescription.js"
click node_job_application "https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/jobApplication/jobApplication.js"
click node_student_form "https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/hiring_component/hiring_component.js"
click node_placement_summary "https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/placementDetails/placementDetails.js"
click node_hiring_records "https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/objects"
click node_hospital_records "https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/objects"
click node_apex_services "https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/classes"
click node_triggers "https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/triggers"
click node_flows "https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/flows"

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_hospital_ui,node_patient_pair,node_user toneBlue
class node_job_description,node_job_application,node_student_form,node_placement_summary toneAmber
class node_patient_api,node_apex_services,node_triggers,node_flows,node_platform_record_api toneMint
class node_hiring_records,node_hospital_records toneRose
```

## Components

### Hospital management

- [Patient list](https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/hospitalMgmt/hospitalMgmt.js): `force-app/main/default/lwc/hospitalMgmt/hospitalMgmt.js`
- [Patient components](https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/lwc/patientParent): `force-app/main/default/lwc/patientParent`

### Hiring and placement

- [Role details](https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/jobDescription/jobDescription.js): `force-app/main/default/lwc/jobDescription/jobDescription.js`
- [Apply navigation](https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/jobApplication/jobApplication.js): `force-app/main/default/lwc/jobApplication/jobApplication.js`
- [Student application form](https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/hiring_component/hiring_component.js): `force-app/main/default/lwc/hiring_component/hiring_component.js`
- [Placement summary](https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/lwc/placementDetails/placementDetails.js): `force-app/main/default/lwc/placementDetails/placementDetails.js`

### Apex and automation

- [Patient controller](https://github.com/nkoushik30/placement_management_system/blob/main/force-app/main/default/classes/PatientController.cls): `force-app/main/default/classes/PatientController.cls`
- [Apex services](https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/classes): `force-app/main/default/classes`
- [Record triggers](https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/triggers): `force-app/main/default/triggers`
- [Business flows](https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/flows): `force-app/main/default/flows`

### Salesforce data

- [Hiring records](https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/objects): `force-app/main/default/objects`
- [Hospital records](https://github.com/nkoushik30/placement_management_system/tree/main/force-app/main/default/objects): `force-app/main/default/objects`

### Other components

- **User**
- **Record API**

## Connections

- User → Patient list: views (evidence: `force-app/main/default/lwc/hospitalMgmt/hospitalMgmt.js`)
- Patient list → Patient controller: calls (evidence: `force-app/main/default/lwc/hospitalMgmt/hospitalMgmt.js`)
- User → Role details: views (evidence: `force-app/main/default/lwc/jobDescription/jobDescription.js`)
- Role details → Record API: reads role (evidence: `force-app/main/default/lwc/jobDescription/jobDescription.js`)
- User → Apply navigation: applies (evidence: `force-app/main/default/lwc/jobApplication/jobApplication.js`)
- Apply navigation → Record API: reads role (evidence: `force-app/main/default/lwc/jobApplication/jobApplication.js`)
- Apply navigation → Hiring records: navigates to new (evidence: `force-app/main/default/lwc/jobApplication/jobApplication.js`)
- User → Student application form: submits details (evidence: `force-app/main/default/lwc/hiring_component/hiring_component.js`)
- Patient components → Record API: reads patient
- Patient components → Patient components: notifies parent
