# vikneshwarannv/full_stack_exp architecture

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

- Interactive diagram: https://gitdiagram.com/vikneshwarannv/full_stack_exp
- Repository: https://github.com/vikneshwarannv/full_stack_exp

## Overview

This repository contains several separate web experiments rather than one integrated application. The visible workflows include an HTTP GET/POST form, a MongoDB-backed product manager, and a React student attendance manager. In the product manager, browser code requests CRUD routes, which access the products collection; in the student app, React mounts a stateful interface for adding students and changing attendance. EXP_1–EXP_3 are present in the tree, but their source was not sampled, so their capabilities and connections cannot be established.

Main entry points: [`EXP_5/mongohttp.js`](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_5/mongohttp.js) (Product UI), [`EXP_6/src/main.jsx`](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_6/src/main.jsx) (React entry), [`EXP_6/src/App.jsx`](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_6/src/App.jsx) (Student state), [`EXP_4/server.js`](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_4/server.js) (GET/POST server)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_http["HTTP Form Experiment"]
  node_http_server["GET/POST server<br/>[server.js]"]
end

subgraph group_products["Product Manager"]
  node_product_ui["Product UI<br/>[mongohttp.js]"]
  node_product_api["Product API<br/>[mongohttp.js]"]
  node_product_store[("Products collection<br/>[mongohttp.js]")]
end

subgraph group_students["Student Manager"]
  node_react_entry["React entry<br/>[main.jsx]"]
  node_student_state["Student state<br/>[App.jsx]"]
  node_student_views["Student views<br/>[App.jsx]"]
end

node_visitor(("Browser user"))
node_product_user(("Product user"))
node_student_user(("Student manager"))

node_visitor -->|"submits form"| node_http_server
node_product_user -.->|"uses"| node_product_ui
node_product_ui -->|"requests CRUD"| node_product_api
node_product_api -->|"reads/writes"| node_product_store
node_student_user -.->|"uses"| node_react_entry
node_react_entry -->|"mounts"| node_student_state
node_student_state -->|"renders"| node_student_views

click node_http_server "https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_4/server.js"
click node_product_ui "https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_5/mongohttp.js"
click node_product_api "https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_5/mongohttp.js"
click node_product_store "https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_5/mongohttp.js"
click node_react_entry "https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_6/src/main.jsx"
click node_student_state "https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_6/src/App.jsx"
click node_student_views "https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_6/src/App.jsx"

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_http_server,node_visitor,node_product_user toneBlue
class node_product_ui,node_product_api,node_product_store toneAmber
class node_react_entry,node_student_state,node_student_views toneMint
class node_student_user toneIndigo
```

## Components

### HTTP Form Experiment

- [GET/POST server](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_4/server.js): `EXP_4/server.js`

### Product Manager

- [Product UI](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_5/mongohttp.js): `EXP_5/mongohttp.js`
- [Product API](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_5/mongohttp.js): `EXP_5/mongohttp.js`
- [Products collection](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_5/mongohttp.js): `EXP_5/mongohttp.js`

### Student Manager

- [React entry](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_6/src/main.jsx): `EXP_6/src/main.jsx`
- [Student state](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_6/src/App.jsx): `EXP_6/src/App.jsx`
- [Student views](https://github.com/vikneshwarannv/full_stack_exp/blob/main/EXP_6/src/App.jsx): `EXP_6/src/App.jsx`

### Other components

- **Browser user**
- **Product user**
- **Student manager**

## Connections

- Browser user → GET/POST server: submits form (evidence: `EXP_4/server.js`)
- Product user → Product UI: uses
- Product UI → Product API: requests CRUD (evidence: `EXP_5/mongohttp.js`)
- Product API → Products collection: reads/writes (evidence: `EXP_5/mongohttp.js`)
- Student manager → React entry: uses
- React entry → Student state: mounts (evidence: `EXP_6/src/main.jsx`)
- Student state → Student views: renders (evidence: `EXP_6/src/App.jsx`)
