# markaniban10/studentinformationsystem architecture

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

- Interactive diagram: https://gitdiagram.com/markaniban10/studentinformationsystem
- Repository: https://github.com/markaniban10/studentinformationsystem

## Overview

This repository contains parallel command-line student information systems in JavaScript and Python. Each presents a menu for adding, listing, and searching student records held in an in-memory list; the menu dispatches to the selected operation. Records are initialized with sample entries, and changes are not persisted. The graph reflects the shown source; no README documentation was provided.

Main entry points: [`infoSystemJS/main.js`](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/main.js) (Menu), [`infoSytemPy/main.py`](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/main.py) (Menu), [`infoSystemJS/students.js`](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/students.js) (Student list), [`infoSytemPy/students.py`](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/students.py) (Student list)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_js["JavaScript CLI"]
  node_js_menu["Menu<br/>[main.js]"]
  node_js_add["Add student<br/>[main.js]"]
  node_js_display["Display students<br/>[main.js]"]
  node_js_search["Search student<br/>[main.js]"]
  node_js_students["Student list<br/>[students.js]"]
end

subgraph group_py["Python CLI"]
  node_py_menu["Menu<br/>[main.py]"]
  node_py_add["Add student<br/>[main.py]"]
  node_py_display["Display students<br/>[main.py]"]
  node_py_search["Search student<br/>[main.py]"]
  node_py_students["Student list<br/>[students.py]"]
end

node_user(("Console user"))

node_user -->|"chooses option"| node_js_menu
node_js_menu -->|"dispatches to"| node_js_add
node_js_menu -->|"dispatches to"| node_js_display
node_js_menu -->|"dispatches to"| node_js_search
node_js_add -->|"adds record"| node_js_students
node_js_display -->|"reads records"| node_js_students
node_js_search -->|"searches records"| node_js_students
node_js_menu -->|"prints prompts"| node_user
node_js_add -->|"prompts and confirms"| node_user
node_js_display -->|"prints records"| node_user
node_js_search -->|"prints match"| node_user
node_user -->|"chooses option"| node_py_menu
node_py_menu -->|"dispatches to"| node_py_add
node_py_menu -->|"dispatches to"| node_py_display
node_py_menu -->|"dispatches to"| node_py_search
node_py_add -->|"adds record"| node_py_students
node_py_display -->|"reads records"| node_py_students
node_py_search -->|"searches records"| node_py_students
node_py_menu -->|"prints prompts"| node_user
node_py_add -->|"prompts and confirms"| node_user
node_py_display -->|"prints records"| node_user
node_py_search -->|"prints match"| node_user

click node_js_menu "https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/main.js"
click node_js_add "https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/main.js"
click node_js_display "https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/main.js"
click node_js_search "https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/main.js"
click node_js_students "https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/students.js"
click node_py_menu "https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/main.py"
click node_py_add "https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/main.py"
click node_py_display "https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/main.py"
click node_py_search "https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/main.py"
click node_py_students "https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/students.py"

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_js_menu,node_js_add,node_js_display,node_js_search,node_js_students,node_user toneBlue
class node_py_menu,node_py_add,node_py_display,node_py_search,node_py_students toneAmber
```

## Components

### JavaScript CLI

- [Menu](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/main.js): `infoSystemJS/main.js`
- [Add student](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/main.js): `infoSystemJS/main.js`
- [Display students](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/main.js): `infoSystemJS/main.js`
- [Search student](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/main.js): `infoSystemJS/main.js`
- [Student list](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSystemJS/students.js): `infoSystemJS/students.js`

### Python CLI

- [Menu](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/main.py): `infoSytemPy/main.py`
- [Add student](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/main.py): `infoSytemPy/main.py`
- [Display students](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/main.py): `infoSytemPy/main.py`
- [Search student](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/main.py): `infoSytemPy/main.py`
- [Student list](https://github.com/markaniban10/studentinformationsystem/blob/main/infoSytemPy/students.py): `infoSytemPy/students.py`

### Other components

- **Console user**

## Connections

- Console user → Menu: chooses option (evidence: `infoSystemJS/main.js`)
- Menu → Add student: dispatches to (evidence: `infoSystemJS/main.js`)
- Menu → Display students: dispatches to (evidence: `infoSystemJS/main.js`)
- Menu → Search student: dispatches to (evidence: `infoSystemJS/main.js`)
- Add student → Student list: adds record (evidence: `infoSystemJS/main.js`)
- Display students → Student list: reads records (evidence: `infoSystemJS/main.js`)
- Search student → Student list: searches records (evidence: `infoSystemJS/main.js`)
- Menu → Console user: prints prompts (evidence: `infoSystemJS/main.js`)
- Add student → Console user: prompts and confirms (evidence: `infoSystemJS/main.js`)
- Display students → Console user: prints records (evidence: `infoSystemJS/main.js`)
- Search student → Console user: prints match (evidence: `infoSystemJS/main.js`)
- Console user → Menu: chooses option (evidence: `infoSytemPy/main.py`)
- Menu → Add student: dispatches to (evidence: `infoSytemPy/main.py`)
- Menu → Display students: dispatches to (evidence: `infoSytemPy/main.py`)
- Menu → Search student: dispatches to (evidence: `infoSytemPy/main.py`)
- Add student → Student list: adds record (evidence: `infoSytemPy/main.py`)
- Display students → Student list: reads records (evidence: `infoSytemPy/main.py`)
- Search student → Student list: searches records (evidence: `infoSytemPy/main.py`)
- Menu → Console user: prints prompts (evidence: `infoSytemPy/main.py`)
- Add student → Console user: prompts and confirms (evidence: `infoSytemPy/main.py`)
- Display students → Console user: prints records (evidence: `infoSytemPy/main.py`)
- Search student → Console user: prints match (evidence: `infoSytemPy/main.py`)
