# redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list- architecture

> Architecture diagram of the GitHub repository redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-
- Repository: https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-

## Overview

Foodie Manager is a terminal-based restaurant/cafeteria management program in C. Its documented capabilities include manager functions, customer ordering, linked-list data structures, and file handling. The excerpts show menu and order operations, manager registration writing to a login file, and sales-reporting logic. The source is a single 47 KB file, so the graph separates its product responsibilities without implying separate modules. Excerpts omit most calls and file names; uncertain runtime links are left out.

Main entry points: [`main.c`](https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c) (Manager functions), [`manager_login_panel.txt`](https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/manager_login_panel.txt) (Manager login file)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_management["Manager operations"]
  node_manager["Manager functions<br/>[main.c]"]
  node_menu["Menu management<br/>[main.c]"]
  node_sales["Sales reporting<br/>[main.c]"]
end

subgraph group_customer["Customer ordering"]
  node_customer["Customer functions<br/>[main.c]"]
  node_orders["Order handling<br/>[main.c]"]
  node_billing["Billing<br/>[main.c]"]
end

subgraph group_storage["File storage"]
  node_loginfile["Manager login file"]
  node_csv["Sold food CSV<br/>[Sold_food_Lsit.csv]"]
end

node_manager -->|"appends credentials"| node_loginfile

click node_manager "https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c"
click node_menu "https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c"
click node_sales "https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c"
click node_customer "https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c"
click node_orders "https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c"
click node_billing "https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c"
click node_loginfile "https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/manager_login_panel.txt"
click node_csv "https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/Sold_food_Lsit.csv"

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_manager,node_menu,node_sales toneBlue
class node_customer,node_orders,node_billing toneAmber
class node_loginfile,node_csv toneMint
```

## Components

### Manager operations

- [Manager functions](https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c): `main.c`
- [Menu management](https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c): `main.c`
- [Sales reporting](https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c): `main.c`

### Customer ordering

- [Customer functions](https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c): `main.c`
- [Order handling](https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c): `main.c`
- [Billing](https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/main.c): `main.c`

### File storage

- [Manager login file](https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/manager_login_panel.txt): `manager_login_panel.txt`
- [Sold food CSV](https://github.com/redoy1491/foodie-manager-project-in-c-using-data-structure-linked-list-/blob/main/Sold_food_Lsit.csv): `Sold_food_Lsit.csv`

## Connections

- Manager functions → Manager login file: appends credentials (evidence: `main.c`)
