# adeshyacg/cgxsu_semester_1 architecture

> Architecture diagram of the GitHub repository adeshyacg/cgxsu_semester_1, 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/adeshyacg/cgxsu_semester_1
- Repository: https://github.com/adeshyacg/cgxsu_semester_1

## Overview

This repository is a semester-based collection of standalone JavaScript, React, and backend learning examples, not one integrated application. A typical user workflow is to open an individual example, interact with its browser UI or API, and observe the result; the projects have separate entry points and state. The graph highlights the substantial React projects and database CRUD example, alongside representative browser-game, DOM, and server exercises. Connections are shown only where the source index or excerpts establish them; many independent examples have no evidenced links.

Main entry points: [`Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/App.jsx`](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/App.jsx) (Gen-Z routes), [`Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/components`](https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/components) (Home sections), [`Semester_2/react(sem_02)/03.auth0/auth0/src/App.jsx`](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/03.auth0/auth0/src/App.jsx) (Auth demo), [`Semester_2/database(sem_02)/03.mongodb_with_node/react_crud/src/App.jsx`](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/database(sem_02)/03.mongodb_with_node/react_crud/src/App.jsx) (Student CRUD UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_browser["Browser exercises"]
  node_games["Browser games"]
  node_dom["DOM exercises"]
  node_fetch["Fetch examples<br/>[code_examples]"]
end

subgraph group_react["React projects"]
  node_redux_app["Redux UI<br/>[App.jsx]"]
  node_redux_components["User views<br/>[components]"]
  node_redux_slice["User state slice<br/>[userSlice.js]"]
  node_zustand_app["Zustand demo<br/>[App.jsx]"]
  node_zustand_counter["Counter view<br/>[Counter.jsx]"]
  node_zustand_store["Shared state<br/>[useAppStore.js]"]
  node_genz_app["Gen-Z routes<br/>[App.jsx]"]
  node_genz_home["Home page<br/>[Home.jsx]"]
  node_genz_about["About page<br/>[About.jsx]"]
  node_genz_career["Career page<br/>[Carrer.jsx]"]
  node_genz_support["Support page<br/>[Support.jsx]"]
  node_genz_nav["Navigation<br/>[Nav.jsx]"]
  node_genz_audio["Audio player"]
  node_genz_sections["Home sections<br/>[components]"]
  node_tailwind_example["Tailwind example<br/>[Example.jsx]"]
  node_auth_app["Auth demo<br/>[App.jsx]"]
  node_auth_controls["Auth controls<br/>[AuthButtons.jsx]"]
  node_auth_profile["Profile view<br/>[Profile.jsx]"]
  node_auth_provider["Auth provider<br/>[main.jsx]"]
end

subgraph group_backend["Backend examples"]
  node_api["Students API<br/>[02.express_crud.js]"]
  node_node_crud["Node CRUD demos<br/>[node_crud]"]
  node_redis_server["Redis server<br/>[app.js]"]
end

subgraph group_data["Data demos"]
  node_mongo_ui["Student CRUD UI<br/>[App.jsx]"]
  node_mongo_entry["React entry<br/>[main.jsx]"]
end

node_learner(("Learner"))
node_database[("MongoDB")]

node_learner -->|"plays"| node_games
node_learner -->|"interacts"| node_dom
node_learner -->|"manages students"| node_mongo_ui
node_mongo_entry -->|"renders"| node_mongo_ui
node_mongo_ui -.->|"HTTP CRUD"| node_api
node_api -.->|"reads and writes"| node_database
node_redux_app -->|"renders"| node_redux_components
node_redux_components -->|"uses state"| node_redux_slice
node_zustand_app -->|"renders"| node_zustand_counter
node_zustand_counter -->|"reads and updates"| node_zustand_store
node_genz_app -->|"routes to"| node_genz_home
node_genz_app -->|"routes to"| node_genz_about
node_genz_app -->|"routes to"| node_genz_career
node_genz_app -->|"routes to"| node_genz_support
node_genz_app -->|"renders"| node_genz_nav
node_genz_app -->|"renders"| node_genz_audio
node_genz_home -->|"renders sections"| node_genz_sections
node_genz_about -->|"uses footer"| node_genz_sections
node_genz_career -->|"uses footer"| node_genz_sections
node_genz_support -->|"uses footer"| node_genz_sections
node_auth_provider -->|"provides context"| node_auth_app
node_auth_app -->|"renders"| node_auth_controls
node_auth_app -->|"renders"| node_auth_profile

click node_games "https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_1/Games"
click node_dom "https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_1/html_css_js(sem_01)/JS_DOM"
click node_fetch "https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_1/html_css_js(sem_01)/JS_DOM/04.fetch/code_examples"
click node_mongo_ui "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/database(sem_02)/03.mongodb_with_node/react_crud/src/App.jsx"
click node_mongo_entry "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/database(sem_02)/03.mongodb_with_node/react_crud/src/main.jsx"
click node_api "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/database(sem_02)/03.mongodb_with_node/node_crud/02.express_crud.js"
click node_redux_app "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/04.redux_toolkit/src/App.jsx"
click node_redux_components "https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_2/react(sem_02)/04.redux_toolkit/src/components"
click node_redux_slice "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/04.redux_toolkit/src/redux/userSlice.js"
click node_zustand_app "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/05.Zustand/src/App.jsx"
click node_zustand_counter "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/05.Zustand/src/components/Counter.jsx"
click node_zustand_store "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/05.Zustand/src/store/useAppStore.js"
click node_genz_app "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/App.jsx"
click node_genz_home "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/pages/Home.jsx"
click node_genz_about "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/pages/About.jsx"
click node_genz_career "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/pages/Carrer.jsx"
click node_genz_support "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/pages/Support.jsx"
click node_genz_nav "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/components/Nav.jsx"
click node_genz_audio "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/components/FloatingAudioPlayer.jsx"
click node_genz_sections "https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/components"
click node_tailwind_example "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/tailwind/src/Example.jsx"
click node_auth_app "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/03.auth0/auth0/src/App.jsx"
click node_auth_controls "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/03.auth0/auth0/src/components/AuthButtons.jsx"
click node_auth_profile "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/03.auth0/auth0/src/components/Profile.jsx"
click node_auth_provider "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/03.auth0/auth0/src/main.jsx"
click node_node_crud "https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_2/database(sem_02)/03.mongodb_with_node/node_crud"
click node_redis_server "https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/redis/node_server/app.js"

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_games,node_dom,node_fetch toneBlue
class node_redux_app,node_redux_components,node_redux_slice,node_zustand_app,node_zustand_counter,node_zustand_store,node_genz_app,node_genz_home,node_genz_about,node_genz_career,node_genz_support,node_genz_nav,node_genz_audio,node_genz_sections,node_tailwind_example,node_auth_app,node_auth_controls,node_auth_profile,node_auth_provider,node_database toneAmber
class node_api,node_node_crud,node_redis_server toneMint
class node_mongo_ui,node_mongo_entry toneRose
class node_learner toneIndigo
```

## Components

### Browser exercises

- [Browser games](https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_1/Games): `Semester_1/Games`
- [DOM exercises](https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_1/html_css_js(sem_01)/JS_DOM): `Semester_1/html_css_js(sem_01)/JS_DOM`
- [Fetch examples](https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_1/html_css_js(sem_01)/JS_DOM/04.fetch/code_examples): `Semester_1/html_css_js(sem_01)/JS_DOM/04.fetch/code_examples`

### React projects

- [Redux UI](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/04.redux_toolkit/src/App.jsx): `Semester_2/react(sem_02)/04.redux_toolkit/src/App.jsx`
- [User views](https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_2/react(sem_02)/04.redux_toolkit/src/components): `Semester_2/react(sem_02)/04.redux_toolkit/src/components`
- [User state slice](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/04.redux_toolkit/src/redux/userSlice.js): `Semester_2/react(sem_02)/04.redux_toolkit/src/redux/userSlice.js`
- [Zustand demo](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/05.Zustand/src/App.jsx): `Semester_2/react(sem_02)/05.Zustand/src/App.jsx`
- [Counter view](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/05.Zustand/src/components/Counter.jsx): `Semester_2/react(sem_02)/05.Zustand/src/components/Counter.jsx`
- [Shared state](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/05.Zustand/src/store/useAppStore.js): `Semester_2/react(sem_02)/05.Zustand/src/store/useAppStore.js`
- [Gen-Z routes](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/App.jsx): `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/App.jsx`
- [Home page](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/pages/Home.jsx): `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/pages/Home.jsx`
- [About page](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/pages/About.jsx): `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/pages/About.jsx`
- [Career page](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/pages/Carrer.jsx): `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/pages/Carrer.jsx`
- [Support page](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/pages/Support.jsx): `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/pages/Support.jsx`
- [Navigation](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/components/Nav.jsx): `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/components/Nav.jsx`
- [Audio player](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/components/FloatingAudioPlayer.jsx): `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/components/FloatingAudioPlayer.jsx`
- [Home sections](https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_2/react(sem_02)/02.tailwind/Tailwind%20Project/Gen-Z/src/components): `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/components`
- [Tailwind example](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/02.tailwind/tailwind/src/Example.jsx): `Semester_2/react(sem_02)/02.tailwind/tailwind/src/Example.jsx`
- [Auth demo](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/03.auth0/auth0/src/App.jsx): `Semester_2/react(sem_02)/03.auth0/auth0/src/App.jsx`
- [Auth controls](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/03.auth0/auth0/src/components/AuthButtons.jsx): `Semester_2/react(sem_02)/03.auth0/auth0/src/components/AuthButtons.jsx`
- [Profile view](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/03.auth0/auth0/src/components/Profile.jsx): `Semester_2/react(sem_02)/03.auth0/auth0/src/components/Profile.jsx`
- [Auth provider](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/react(sem_02)/03.auth0/auth0/src/main.jsx): `Semester_2/react(sem_02)/03.auth0/auth0/src/main.jsx`

### Backend examples

- [Students API](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/database(sem_02)/03.mongodb_with_node/node_crud/02.express_crud.js): `Semester_2/database(sem_02)/03.mongodb_with_node/node_crud/02.express_crud.js`
- [Node CRUD demos](https://github.com/adeshyacg/cgxsu_semester_1/tree/main/Semester_2/database(sem_02)/03.mongodb_with_node/node_crud): `Semester_2/database(sem_02)/03.mongodb_with_node/node_crud`
- [Redis server](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/redis/node_server/app.js): `Semester_2/redis/node_server/app.js`

### Data demos

- [Student CRUD UI](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/database(sem_02)/03.mongodb_with_node/react_crud/src/App.jsx): `Semester_2/database(sem_02)/03.mongodb_with_node/react_crud/src/App.jsx`
- [React entry](https://github.com/adeshyacg/cgxsu_semester_1/blob/main/Semester_2/database(sem_02)/03.mongodb_with_node/react_crud/src/main.jsx): `Semester_2/database(sem_02)/03.mongodb_with_node/react_crud/src/main.jsx`

### Other components

- **Learner**
- **MongoDB**

## Connections

- Learner → Browser games: plays
- Learner → DOM exercises: interacts
- Learner → Student CRUD UI: manages students (evidence: `Semester_2/database(sem_02)/03.mongodb_with_node/react_crud/src/App.jsx`)
- React entry → Student CRUD UI: renders (evidence: `Semester_2/database(sem_02)/03.mongodb_with_node/react_crud/src/main.jsx`)
- Student CRUD UI → Students API: HTTP CRUD
- Students API → MongoDB: reads and writes
- Redux UI → User views: renders (evidence: `Semester_2/react(sem_02)/04.redux_toolkit/src/App.jsx`)
- User views → User state slice: uses state (evidence: `Semester_2/react(sem_02)/04.redux_toolkit/src/components/UserList.jsx`)
- Zustand demo → Counter view: renders (evidence: `Semester_2/react(sem_02)/05.Zustand/src/App.jsx`)
- Counter view → Shared state: reads and updates (evidence: `Semester_2/react(sem_02)/05.Zustand/src/components/Counter.jsx`)
- Gen-Z routes → Home page: routes to (evidence: `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/App.jsx`)
- Gen-Z routes → About page: routes to (evidence: `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/App.jsx`)
- Gen-Z routes → Career page: routes to (evidence: `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/App.jsx`)
- Gen-Z routes → Support page: routes to (evidence: `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/App.jsx`)
- Gen-Z routes → Navigation: renders (evidence: `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/App.jsx`)
- Gen-Z routes → Audio player: renders (evidence: `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/App.jsx`)
- Home page → Home sections: renders sections (evidence: `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/pages/Home.jsx`)
- About page → Home sections: uses footer (evidence: `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/pages/About.jsx`)
- Career page → Home sections: uses footer (evidence: `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/pages/Carrer.jsx`)
- Support page → Home sections: uses footer (evidence: `Semester_2/react(sem_02)/02.tailwind/Tailwind Project/Gen-Z/src/pages/Support.jsx`)
- Auth provider → Auth demo: provides context (evidence: `Semester_2/react(sem_02)/03.auth0/auth0/src/main.jsx`)
- Auth demo → Auth controls: renders (evidence: `Semester_2/react(sem_02)/03.auth0/auth0/src/App.jsx`)
- Auth demo → Profile view: renders (evidence: `Semester_2/react(sem_02)/03.auth0/auth0/src/App.jsx`)
