# geniuurievich/sheek_max_fullstack architecture

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

- Interactive diagram: https://gitdiagram.com/geniuurievich/sheek_max_fullstack
- Repository: https://github.com/geniuurievich/sheek_max_fullstack

## Overview

This is a clothing-commerce storefront with a separate ASP.NET backend: shoppers browse and filter products, view product details, register or log in, and manage a basket; the frontend also presents brand and contact content. The backend exposes product, authentication, and cart APIs backed by PostgreSQL, with JWT-based authentication. The tree also contains a second, separate Back backend project. Frontend-to-API wiring and that project's runtime registration were not shown, so those relationships are omitted or marked unverified.

Main entry points: [`Frontend/src/Components/Body.tsx`](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Body.tsx) (Main content), [`Frontend/src/App.tsx`](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/App.tsx) (App routing), [`Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models/AddDBContext.cs`](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models/AddDBContext.cs) (Entity context), [`Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models`](https://github.com/geniuurievich/sheek_max_fullstack/tree/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models) (Commerce entities)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_storefront["Storefront"]
  node_app["App routing<br/>[App.tsx]"]
  node_main_content["Main content<br/>[Body.tsx]"]
  node_catalog["Catalog entry<br/>[Catalog.tsx]"]
  node_header["Header navigation<br/>[Header.tsx]"]
  node_login["Login form<br/>[Login.tsx]"]
  node_registration["Registration form<br/>[Registration.tsx]"]
  node_auth_store["Auth state<br/>[authStore.ts]"]
  node_brand_content["Brand content<br/>[About.tsx]"]
  node_quiz["Style quiz<br/>[Quiz.tsx]"]
  node_team["Team content<br/>[Team.tsx]"]
  node_faq["FAQ<br/>[FAQ.tsx]"]
  node_contacts["Contact content<br/>[Contacts.tsx]"]
  node_instagram["Instagram content<br/>[Instagram.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
end

subgraph group_shopping["Shopping UI"]
  node_catalog_form["Catalog filters<br/>[Catalog_form.tsx]"]
  node_product_list["Product list<br/>[Card_List.tsx]"]
  node_product_card["Product card<br/>[Card.tsx]"]
  node_product_detail["Product detail<br/>[Card_open.tsx]"]
  node_basket["Basket view<br/>[Bascet.tsx]"]
  node_basket_card["Basket item<br/>[Bascet_card.tsx]"]
  node_order_view["Order view<br/>[Zakaz.tsx]"]
  node_order_card["Order item<br/>[Zakaz_card.tsx]"]
end

subgraph group_commerce_api["Commerce API"]
  node_product_api["Product API"]
  node_auth_api["Authentication API"]
  node_cart_api["Cart API<br/>[CartController.cs]"]
  node_product_dto["Product responses<br/>[Product_DTO.cs]"]
end

subgraph group_data_security["Data and Identity"]
  node_db_context["Entity context<br/>[AddDBContext.cs]"]
  node_commerce_entities["Commerce entities"]
  node_postgres[("PostgreSQL")]
  node_jwt["JWT service<br/>[JWTService.cs]"]
end

subgraph group_back_project["Separate Back API"]
  node_back_auth["Back auth API<br/>[AuthController.cs]"]
  node_back_admin["Back admin API<br/>[AdminController.cs]"]
end

node_shopper(("Shopper"))
node_browser_storage[("Browser storage")]

node_shopper -->|"opens"| node_app
node_app -->|"renders"| node_header
node_app -->|"routes to"| node_main_content
node_app -->|"renders"| node_footer
node_app -->|"routes to"| node_login
node_app -->|"routes to"| node_registration
node_main_content -->|"renders"| node_catalog
node_main_content -->|"renders"| node_brand_content
node_main_content -->|"renders"| node_quiz
node_main_content -->|"renders"| node_team
node_main_content -->|"renders"| node_faq
node_main_content -->|"renders"| node_contacts
node_main_content -->|"renders"| node_instagram
node_header -->|"renders"| node_basket
node_header -->|"renders"| node_order_view
node_basket -->|"renders"| node_basket_card
node_basket -->|"reads"| node_auth_store
node_order_view -->|"renders"| node_order_card
node_login -->|"updates"| node_auth_store
node_registration -->|"updates"| node_auth_store
node_auth_store -->|"stores token"| node_browser_storage
node_catalog -.->|"uses"| node_catalog_form
node_catalog_form -->|"renders"| node_product_list
node_product_list -->|"renders"| node_product_card
node_product_api -->|"queries"| node_db_context
node_product_api -->|"maps to"| node_product_dto
node_product_api -->|"uses products"| node_commerce_entities
node_cart_api -->|"queries"| node_db_context
node_cart_api -->|"uses cart models"| node_commerce_entities
node_auth_api -->|"queries"| node_db_context
node_auth_api -->|"generates tokens"| node_jwt
node_auth_api -->|"uses users"| node_commerce_entities
node_db_context -->|"models sets"| node_commerce_entities
node_db_context -->|"configures provider"| node_postgres
node_jwt -->|"claims from user"| node_commerce_entities
node_product_list -.->|"may request data"| node_product_api
node_basket -.->|"may request data"| node_cart_api
node_login -.->|"may authenticate"| node_auth_api

click node_app "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/App.tsx"
click node_main_content "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Body.tsx"
click node_catalog "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Catalog/Catalog.tsx"
click node_catalog_form "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Catalog/Catalog_form.tsx"
click node_product_list "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Card_List/Card_List.tsx"
click node_product_card "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Card/Card.tsx"
click node_product_detail "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Card_open/Card_open.tsx"
click node_header "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Header/Header.tsx"
click node_basket "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Bascet/Bascet.tsx"
click node_basket_card "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Bascet/Bascet_card.tsx"
click node_order_view "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Zakaz/Zakaz.tsx"
click node_order_card "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Zakaz/Zakaz_card.tsx"
click node_login "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Login/Login.tsx"
click node_registration "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Registration/Registration.tsx"
click node_auth_store "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Store/authStore.ts"
click node_brand_content "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/About/About.tsx"
click node_quiz "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Quiz/Quiz.tsx"
click node_team "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Team/Team.tsx"
click node_faq "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/FAQ/FAQ.tsx"
click node_contacts "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Contacts/Contacts.tsx"
click node_instagram "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Instagram/Instagram.tsx"
click node_footer "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Footer/Footer.tsx"
click node_product_api "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/ProductController.cs"
click node_auth_api "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/AutharizateController.cs"
click node_cart_api "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/CartController.cs"
click node_product_dto "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/DTO/Product_DTO.cs"
click node_db_context "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models/AddDBContext.cs"
click node_commerce_entities "https://github.com/geniuurievich/sheek_max_fullstack/tree/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models"
click node_jwt "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Servises/JWTService.cs"
click node_back_auth "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Back/Back/Controllers/AuthController.cs"
click node_back_admin "https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Back/Back/Controllers/AdminController.cs"

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_app,node_main_content,node_catalog,node_header,node_login,node_registration,node_auth_store,node_brand_content,node_quiz,node_team,node_faq,node_contacts,node_instagram,node_footer toneBlue
class node_catalog_form,node_product_list,node_product_card,node_product_detail,node_basket,node_basket_card,node_order_view,node_order_card,node_browser_storage toneAmber
class node_product_api,node_auth_api,node_cart_api,node_product_dto toneMint
class node_db_context,node_commerce_entities,node_postgres,node_jwt toneRose
class node_back_auth,node_back_admin,node_shopper toneIndigo
```

## Components

### Storefront

- [App routing](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/App.tsx): `Frontend/src/App.tsx`
- [Main content](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Body.tsx): `Frontend/src/Components/Body.tsx`
- [Catalog entry](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Catalog/Catalog.tsx): `Frontend/src/Components/Catalog/Catalog.tsx`
- [Header navigation](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Header/Header.tsx): `Frontend/src/Components/Header/Header.tsx`
- [Login form](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Login/Login.tsx): `Frontend/src/Components/Login/Login.tsx`
- [Registration form](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Registration/Registration.tsx): `Frontend/src/Components/Registration/Registration.tsx`
- [Auth state](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Store/authStore.ts): `Frontend/src/Components/Store/authStore.ts`
- [Brand content](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/About/About.tsx): `Frontend/src/Components/About/About.tsx`
- [Style quiz](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Quiz/Quiz.tsx): `Frontend/src/Components/Quiz/Quiz.tsx`
- [Team content](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Team/Team.tsx): `Frontend/src/Components/Team/Team.tsx`
- [FAQ](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/FAQ/FAQ.tsx): `Frontend/src/Components/FAQ/FAQ.tsx`
- [Contact content](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Contacts/Contacts.tsx): `Frontend/src/Components/Contacts/Contacts.tsx`
- [Instagram content](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Instagram/Instagram.tsx): `Frontend/src/Components/Instagram/Instagram.tsx`
- [Footer](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Footer/Footer.tsx): `Frontend/src/Components/Footer/Footer.tsx`

### Shopping UI

- [Catalog filters](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Catalog/Catalog_form.tsx): `Frontend/src/Components/Catalog/Catalog_form.tsx`
- [Product list](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Card_List/Card_List.tsx): `Frontend/src/Components/Card_List/Card_List.tsx`
- [Product card](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Card/Card.tsx): `Frontend/src/Components/Card/Card.tsx`
- [Product detail](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Card_open/Card_open.tsx): `Frontend/src/Components/Card_open/Card_open.tsx`
- [Basket view](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Bascet/Bascet.tsx): `Frontend/src/Components/Bascet/Bascet.tsx`
- [Basket item](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Bascet/Bascet_card.tsx): `Frontend/src/Components/Bascet/Bascet_card.tsx`
- [Order view](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Zakaz/Zakaz.tsx): `Frontend/src/Components/Zakaz/Zakaz.tsx`
- [Order item](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Frontend/src/Components/Zakaz/Zakaz_card.tsx): `Frontend/src/Components/Zakaz/Zakaz_card.tsx`

### Commerce API

- [Product API](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/ProductController.cs): `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/ProductController.cs`
- [Authentication API](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/AutharizateController.cs): `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/AutharizateController.cs`
- [Cart API](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/CartController.cs): `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/CartController.cs`
- [Product responses](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/DTO/Product_DTO.cs): `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/DTO/Product_DTO.cs`

### Data and Identity

- [Entity context](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models/AddDBContext.cs): `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models/AddDBContext.cs`
- [Commerce entities](https://github.com/geniuurievich/sheek_max_fullstack/tree/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models): `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models`
- **PostgreSQL**
- [JWT service](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Servises/JWTService.cs): `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Servises/JWTService.cs`

### Separate Back API

- [Back auth API](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Back/Back/Controllers/AuthController.cs): `Backend/Back/Back/Controllers/AuthController.cs`
- [Back admin API](https://github.com/geniuurievich/sheek_max_fullstack/blob/main/Backend/Back/Back/Controllers/AdminController.cs): `Backend/Back/Back/Controllers/AdminController.cs`

### Other components

- **Shopper**
- **Browser storage**

## Connections

- Shopper → App routing: opens (evidence: `Frontend/src/App.tsx`)
- App routing → Header navigation: renders (evidence: `Frontend/src/App.tsx`)
- App routing → Main content: routes to (evidence: `Frontend/src/App.tsx`)
- App routing → Footer: renders (evidence: `Frontend/src/App.tsx`)
- App routing → Login form: routes to (evidence: `Frontend/src/App.tsx`)
- App routing → Registration form: routes to (evidence: `Frontend/src/App.tsx`)
- Main content → Catalog entry: renders (evidence: `Frontend/src/Components/Body.tsx`)
- Main content → Brand content: renders (evidence: `Frontend/src/Components/Body.tsx`)
- Main content → Style quiz: renders (evidence: `Frontend/src/Components/Body.tsx`)
- Main content → Team content: renders (evidence: `Frontend/src/Components/Body.tsx`)
- Main content → FAQ: renders (evidence: `Frontend/src/Components/Body.tsx`)
- Main content → Contact content: renders (evidence: `Frontend/src/Components/Body.tsx`)
- Main content → Instagram content: renders (evidence: `Frontend/src/Components/Body.tsx`)
- Header navigation → Basket view: renders (evidence: `Frontend/src/Components/Header/Header.tsx`)
- Header navigation → Order view: renders (evidence: `Frontend/src/Components/Header/Header.tsx`)
- Basket view → Basket item: renders (evidence: `Frontend/src/Components/Bascet/Bascet.tsx`)
- Basket view → Auth state: reads (evidence: `Frontend/src/Components/Bascet/Bascet.tsx`)
- Order view → Order item: renders (evidence: `Frontend/src/Components/Zakaz/Zakaz.tsx`)
- Login form → Auth state: updates (evidence: `Frontend/src/Components/Login/Login.tsx`)
- Registration form → Auth state: updates (evidence: `Frontend/src/Components/Registration/Registration.tsx`)
- Auth state → Browser storage: stores token (evidence: `Frontend/src/Components/Store/authStore.ts`)
- Catalog entry → Catalog filters: uses
- Catalog filters → Product list: renders (evidence: `Frontend/src/Components/Catalog/Catalog_form.tsx`)
- Product list → Product card: renders (evidence: `Frontend/src/Components/Card_List/Card_List.tsx`)
- Product API → Entity context: queries (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/ProductController.cs`)
- Product API → Product responses: maps to (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/ProductController.cs`)
- Product API → Commerce entities: uses products (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/ProductController.cs`)
- Cart API → Entity context: queries (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/CartController.cs`)
- Cart API → Commerce entities: uses cart models (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/CartController.cs`)
- Authentication API → Entity context: queries (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/AutharizateController.cs`)
- Authentication API → JWT service: generates tokens (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/AutharizateController.cs`)
- Authentication API → Commerce entities: uses users (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Controllers/AutharizateController.cs`)
- Entity context → Commerce entities: models sets (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models/AddDBContext.cs`)
- Entity context → PostgreSQL: configures provider (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Models/AddDBContext.cs`)
- JWT service → Commerce entities: claims from user (evidence: `Backend/Sheek_Max_Fullstack/Sheek_Max_Fullstack/Servises/JWTService.cs`)
- Product list → Product API: may request data
- Basket view → Cart API: may request data
- Login form → Authentication API: may authenticate
