# parihar07/system_design architecture

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

- Interactive diagram: https://gitdiagram.com/parihar07/system_design
- Repository: https://github.com/parihar07/system_design

## Overview

This repository is an interview-preparation and learning resource, not a single application. Its main workflow is for a learner to study a C++ or system-design topic, then use the associated examples to practice and review the concept. The graph groups the material by learning domain and includes the documented standalone projects. Relationship evidence is limited: the README excerpt explicitly describes topics and learning goals, while most examples are independent programs; no runtime pipeline between them is implied.

Main entry points: [`README.md`](https://github.com/parihar07/system_design/blob/main/README.md) (Study Resource), [`acessmodifiers`](https://github.com/parihar07/system_design/tree/main/acessmodifiers) (Access Control), [`constructors_destructors`](https://github.com/parihar07/system_design/tree/main/constructors_destructors) (Object Lifecycle), [`generics`](https://github.com/parihar07/system_design/tree/main/generics) (Templates)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cpp["C++ Foundations"]
  node_access["Access Control"]
  node_lifecycle["Object Lifecycle"]
  node_generics["Templates"]
  node_errors["Exception Handling"]
  node_functional["Lambdas"]
end

subgraph group_oop["Object Design"]
  node_inheritance["Inheritance"]
  node_relationships["OOP Relationships"]
  node_encapsulation["Encapsulation<br/>[enc.cpp]"]
  node_interfaces["Abstraction<br/>[abi.cpp]"]
  node_solid["SOLID Principles"]
end

subgraph group_patterns["Design Patterns"]
  node_creational["Creational Patterns"]
  node_structural["Structural Patterns"]
  node_behavioral["Behavioral Patterns"]
end

subgraph group_systems["Systems Topics"]
  node_concurrency["Processes and Threads"]
  node_synchronization["Synchronization"]
  node_approach["Design Approach<br/>[p.cpp]"]
end

subgraph group_projects["Practice Projects"]
  node_hospital["Hospital System<br/>[hms.cpp]"]
  node_payments["Payment System<br/>[payment_system.cpp]"]
  node_reservation["Restaurant Reservations<br/>[main.cpp]"]
  node_ipc["Bidirectional IPC"]
  node_command["Command Simulation<br/>[csim.cpp]"]
end

node_learner(("Learner"))
node_resource["Study Resource<br/>[README.md]"]

node_learner -->|"studies"| node_resource
node_resource -->|"covers"| node_access
node_resource -->|"covers"| node_lifecycle
node_resource -->|"covers"| node_inheritance
node_resource -->|"covers"| node_concurrency
node_resource -->|"covers"| node_solid
node_resource -->|"covers"| node_relationships
node_resource -->|"covers"| node_generics

click node_resource "https://github.com/parihar07/system_design/blob/main/README.md"
click node_access "https://github.com/parihar07/system_design/tree/main/acessmodifiers"
click node_lifecycle "https://github.com/parihar07/system_design/tree/main/constructors_destructors"
click node_generics "https://github.com/parihar07/system_design/tree/main/generics"
click node_errors "https://github.com/parihar07/system_design/tree/main/exceptional_handling"
click node_functional "https://github.com/parihar07/system_design/tree/main/functors_executioners"
click node_inheritance "https://github.com/parihar07/system_design/tree/main/inheritance"
click node_relationships "https://github.com/parihar07/system_design/tree/main/association"
click node_encapsulation "https://github.com/parihar07/system_design/blob/main/oops/ecapsulation/enc.cpp"
click node_interfaces "https://github.com/parihar07/system_design/blob/main/oops/abstraction_interface/abi.cpp"
click node_solid "https://github.com/parihar07/system_design/tree/main/solid"
click node_creational "https://github.com/parihar07/system_design/tree/main/design_principles/creational"
click node_structural "https://github.com/parihar07/system_design/tree/main/design_principles/structural"
click node_behavioral "https://github.com/parihar07/system_design/tree/main/design_principles/behavioral"
click node_concurrency "https://github.com/parihar07/system_design/tree/main/concurrency"
click node_synchronization "https://github.com/parihar07/system_design/tree/main/synchronization"
click node_approach "https://github.com/parihar07/system_design/blob/main/design_approach/pen/p.cpp"
click node_hospital "https://github.com/parihar07/system_design/blob/main/projects/HMS/hms.cpp"
click node_payments "https://github.com/parihar07/system_design/blob/main/projects/paymentsystem/payment_system.cpp"
click node_reservation "https://github.com/parihar07/system_design/blob/main/projects/restaurant_reserve/main.cpp"
click node_ipc "https://github.com/parihar07/system_design/blob/main/projects/systemprogramming/bidirection_comm/02_ipc_pipe_bidirectional.cpp"
click node_command "https://github.com/parihar07/system_design/blob/main/projects/systemprogramming/command_simulation/csim.cpp"

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_access,node_lifecycle,node_generics,node_errors,node_functional toneBlue
class node_inheritance,node_relationships,node_encapsulation,node_interfaces,node_solid toneAmber
class node_creational,node_structural,node_behavioral toneMint
class node_concurrency,node_synchronization,node_approach toneRose
class node_hospital,node_payments,node_reservation,node_ipc,node_command,node_learner toneIndigo
class node_resource toneTeal
```

## Components

### C++ Foundations

- [Access Control](https://github.com/parihar07/system_design/tree/main/acessmodifiers): `acessmodifiers`
- [Object Lifecycle](https://github.com/parihar07/system_design/tree/main/constructors_destructors): `constructors_destructors`
- [Templates](https://github.com/parihar07/system_design/tree/main/generics): `generics`
- [Exception Handling](https://github.com/parihar07/system_design/tree/main/exceptional_handling): `exceptional_handling`
- [Lambdas](https://github.com/parihar07/system_design/tree/main/functors_executioners): `functors_executioners`

### Object Design

- [Inheritance](https://github.com/parihar07/system_design/tree/main/inheritance): `inheritance`
- [OOP Relationships](https://github.com/parihar07/system_design/tree/main/association): `association`
- [Encapsulation](https://github.com/parihar07/system_design/blob/main/oops/ecapsulation/enc.cpp): `oops/ecapsulation/enc.cpp`
- [Abstraction](https://github.com/parihar07/system_design/blob/main/oops/abstraction_interface/abi.cpp): `oops/abstraction_interface/abi.cpp`
- [SOLID Principles](https://github.com/parihar07/system_design/tree/main/solid): `solid`

### Design Patterns

- [Creational Patterns](https://github.com/parihar07/system_design/tree/main/design_principles/creational): `design_principles/creational`
- [Structural Patterns](https://github.com/parihar07/system_design/tree/main/design_principles/structural): `design_principles/structural`
- [Behavioral Patterns](https://github.com/parihar07/system_design/tree/main/design_principles/behavioral): `design_principles/behavioral`

### Systems Topics

- [Processes and Threads](https://github.com/parihar07/system_design/tree/main/concurrency): `concurrency`
- [Synchronization](https://github.com/parihar07/system_design/tree/main/synchronization): `synchronization`
- [Design Approach](https://github.com/parihar07/system_design/blob/main/design_approach/pen/p.cpp): `design_approach/pen/p.cpp`

### Practice Projects

- [Hospital System](https://github.com/parihar07/system_design/blob/main/projects/HMS/hms.cpp): `projects/HMS/hms.cpp`
- [Payment System](https://github.com/parihar07/system_design/blob/main/projects/paymentsystem/payment_system.cpp): `projects/paymentsystem/payment_system.cpp`
- [Restaurant Reservations](https://github.com/parihar07/system_design/blob/main/projects/restaurant_reserve/main.cpp): `projects/restaurant_reserve/main.cpp`
- [Bidirectional IPC](https://github.com/parihar07/system_design/blob/main/projects/systemprogramming/bidirection_comm/02_ipc_pipe_bidirectional.cpp): `projects/systemprogramming/bidirection_comm/02_ipc_pipe_bidirectional.cpp`
- [Command Simulation](https://github.com/parihar07/system_design/blob/main/projects/systemprogramming/command_simulation/csim.cpp): `projects/systemprogramming/command_simulation/csim.cpp`

### Other components

- **Learner**
- [Study Resource](https://github.com/parihar07/system_design/blob/main/README.md): `README.md`

## Connections

- Learner → Study Resource: studies (evidence: `README.md`)
- Study Resource → Access Control: covers (evidence: `README.md`)
- Study Resource → Object Lifecycle: covers (evidence: `README.md`)
- Study Resource → Inheritance: covers (evidence: `README.md`)
- Study Resource → Processes and Threads: covers (evidence: `README.md`)
- Study Resource → SOLID Principles: covers (evidence: `README.md`)
- Study Resource → OOP Relationships: covers (evidence: `README.md`)
- Study Resource → Templates: covers (evidence: `README.md`)
