# rajeshnagar701/14th_oct_mern_2025 architecture

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

- Interactive diagram: https://gitdiagram.com/rajeshnagar701/14th_oct_mern_2025
- Repository: https://github.com/rajeshnagar701/14th_oct_mern_2025

## Overview

This tree is a collection of separate React learning demos and applications, plus Node/GraphQL examples—not one integrated product. The clearest user-facing workflows are the routed cleaning-services site, its separate admin interface, and a Redux user/contact manager; the demo app showcases React topics. Graph examples include a Mongo-backed GraphQL API and separate Node/Mongo code. The README is empty, so capabilities and relationships below are based on the file tree and sampled source; unsampled feature details and connections are intentionally limited.

Main entry points: [`React/firebase/web/src/Main.jsx`](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Main.jsx) (Site routes), [`React/demo_app/src/App.js`](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/demo_app/src/App.js) (Demo app selector), [`React/firebase/admin/src/Main.jsx`](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/Main.jsx) (Admin routes), [`graph/mongo_graph/server.js`](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/mongo_graph/server.js) (GraphQL server)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_demo["React learning demos"]
  node_demo_app["Demo app selector<br/>[App.js]"]
  node_demo_crud["CRUD demo<br/>[Basic_crud.jsx]"]
  node_demo_lifecycle["Lifecycle demo<br/>[Life_image.jsx]"]
  node_demo_mui["Material UI demo<br/>[MUI.jsx]"]
  node_demo_topics["Hooks and patterns"]
end

subgraph group_site["Cleaning services site"]
  node_site_app["Site app<br/>[App.js]"]
  node_site_router["Site routes<br/>[Main.jsx]"]
  node_site_header["Site header<br/>[Header.jsx]"]
  node_site_pages["Content pages"]
  node_site_service["Services page<br/>[Service.jsx]"]
  node_site_forms["Forms and accounts<br/>[Form_handeling.jsx]"]
  node_site_products["Project products<br/>[Single_Product.jsx]"]
end

subgraph group_admin["Admin interface"]
  node_admin_app["Admin app and login state<br/>[App.js]"]
  node_admin_router["Admin routes<br/>[Main.jsx]"]
  node_admin_catalog["Product management<br/>[Add_Product.jsx]"]
  node_admin_dashboard["Dashboard<br/>[Dashboard.jsx]"]
  node_admin_users["User management<br/>[View_users.jsx]"]
end

subgraph group_redux["Redux management app"]
  node_redux_app["Redux app routes<br/>[App.js]"]
  node_redux_users["User management<br/>[Manage_user.jsx]"]
  node_redux_contacts["Contact management<br/>[Manage_contact.jsx]"]
  node_redux_slice["User state slice<br/>[userSlice.js]"]
end

subgraph group_api["Graph and Mongo examples"]
  node_graphql_server["GraphQL server<br/>[server.js]"]
  node_graphql_schema["GraphQL schema<br/>[typeDefs.js]"]
  node_graphql_resolvers["User resolvers<br/>[resolvers.js]"]
  node_mongo_users[("Mongo user model<br/>[User.js]")]
  node_mongo_example["Node Mongo example<br/>[index.js]"]
  node_graph_example["Graph example<br/>[index.js]"]
end

node_visitor(("Site visitor"))
node_admin_user(("Admin user"))
node_api_client(("GraphQL client"))

node_demo_app -->|"renders &#40;selectable&#41;"| node_demo_crud
node_demo_app -->|"renders &#40;selectable&#41;"| node_demo_lifecycle
node_demo_app -->|"renders &#40;selectable&#41;"| node_demo_mui
node_demo_app -->|"selects &#40;other demos&#41;"| node_demo_topics
node_visitor -.->|"opens"| node_site_app
node_site_app -->|"renders"| node_site_router
node_site_router -->|"renders"| node_site_header
node_site_router -->|"routes to"| node_site_pages
node_site_router -->|"routes to"| node_site_service
node_site_router -->|"routes to"| node_site_forms
node_site_router -->|"routes to"| node_site_products
node_admin_user -.->|"opens"| node_admin_app
node_admin_app -->|"renders"| node_admin_router
node_admin_router -->|"routes to"| node_admin_catalog
node_admin_router -->|"routes to"| node_admin_dashboard
node_admin_router -->|"routes to"| node_admin_users
node_redux_app -->|"routes to"| node_redux_users
node_redux_app -->|"routes to"| node_redux_contacts
node_redux_users -->|"dispatches actions"| node_redux_slice
node_api_client -.->|"sends queries"| node_graphql_server
node_graphql_server -->|"configures"| node_graphql_schema
node_graphql_server -->|"configures"| node_graphql_resolvers
node_graphql_resolvers -->|"queries and updates"| node_mongo_users

click node_demo_app "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/demo_app/src/App.js"
click node_demo_crud "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/demo_app/src/Basic_crud/Basic_crud.jsx"
click node_demo_lifecycle "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/demo_app/src/Lifecycle/Life_image.jsx"
click node_demo_mui "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/demo_app/src/MUI/MUI.jsx"
click node_demo_topics "https://github.com/rajeshnagar701/14th_oct_mern_2025/tree/master/React/demo_app/src"
click node_site_app "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/App.js"
click node_site_router "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Main.jsx"
click node_site_header "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Component/Header.jsx"
click node_site_pages "https://github.com/rajeshnagar701/14th_oct_mern_2025/tree/master/React/firebase/web/src/Pages"
click node_site_service "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Pages/Service.jsx"
click node_site_forms "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Pages/Form_handeling.jsx"
click node_site_products "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Pages/Single_Product.jsx"
click node_admin_app "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/App.js"
click node_admin_router "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/Main.jsx"
click node_admin_catalog "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/Pages/Add_Product.jsx"
click node_admin_dashboard "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/Pages/Dashboard.jsx"
click node_admin_users "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/Pages/View_users.jsx"
click node_redux_app "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/redux/react_redux/src/App.js"
click node_redux_users "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/redux/react_redux/src/admin/pages/Manage_user.jsx"
click node_redux_contacts "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/redux/react_redux/src/admin/pages/Manage_contact.jsx"
click node_redux_slice "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/redux/react_redux/src/app/userSlice.js"
click node_graphql_server "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/mongo_graph/server.js"
click node_graphql_schema "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/mongo_graph/schema/typeDefs.js"
click node_graphql_resolvers "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/mongo_graph/schema/resolvers.js"
click node_mongo_users "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/mongo_graph/models/User.js"
click node_mongo_example "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/node_mongo/index.js"
click node_graph_example "https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/graph/index.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_demo_app,node_demo_crud,node_demo_lifecycle,node_demo_mui,node_demo_topics,node_admin_user,node_api_client toneBlue
class node_site_app,node_site_router,node_site_header,node_site_pages,node_site_service,node_site_forms,node_site_products toneAmber
class node_admin_app,node_admin_router,node_admin_catalog,node_admin_dashboard,node_admin_users toneMint
class node_redux_app,node_redux_users,node_redux_contacts,node_redux_slice toneRose
class node_graphql_server,node_graphql_schema,node_graphql_resolvers,node_mongo_users,node_mongo_example,node_graph_example,node_visitor toneIndigo
```

## Components

### React learning demos

- [Demo app selector](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/demo_app/src/App.js): `React/demo_app/src/App.js`
- [CRUD demo](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/demo_app/src/Basic_crud/Basic_crud.jsx): `React/demo_app/src/Basic_crud/Basic_crud.jsx`
- [Lifecycle demo](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/demo_app/src/Lifecycle/Life_image.jsx): `React/demo_app/src/Lifecycle/Life_image.jsx`
- [Material UI demo](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/demo_app/src/MUI/MUI.jsx): `React/demo_app/src/MUI/MUI.jsx`
- [Hooks and patterns](https://github.com/rajeshnagar701/14th_oct_mern_2025/tree/master/React/demo_app/src): `React/demo_app/src`

### Cleaning services site

- [Site app](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/App.js): `React/firebase/web/src/App.js`
- [Site routes](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Main.jsx): `React/firebase/web/src/Main.jsx`
- [Site header](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Component/Header.jsx): `React/firebase/web/src/Component/Header.jsx`
- [Content pages](https://github.com/rajeshnagar701/14th_oct_mern_2025/tree/master/React/firebase/web/src/Pages): `React/firebase/web/src/Pages`
- [Services page](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Pages/Service.jsx): `React/firebase/web/src/Pages/Service.jsx`
- [Forms and accounts](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Pages/Form_handeling.jsx): `React/firebase/web/src/Pages/Form_handeling.jsx`
- [Project products](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/web/src/Pages/Single_Product.jsx): `React/firebase/web/src/Pages/Single_Product.jsx`

### Admin interface

- [Admin app and login state](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/App.js): `React/firebase/admin/src/App.js`
- [Admin routes](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/Main.jsx): `React/firebase/admin/src/Main.jsx`
- [Product management](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/Pages/Add_Product.jsx): `React/firebase/admin/src/Pages/Add_Product.jsx`
- [Dashboard](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/Pages/Dashboard.jsx): `React/firebase/admin/src/Pages/Dashboard.jsx`
- [User management](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/firebase/admin/src/Pages/View_users.jsx): `React/firebase/admin/src/Pages/View_users.jsx`

### Redux management app

- [Redux app routes](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/redux/react_redux/src/App.js): `React/redux/react_redux/src/App.js`
- [User management](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/redux/react_redux/src/admin/pages/Manage_user.jsx): `React/redux/react_redux/src/admin/pages/Manage_user.jsx`
- [Contact management](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/redux/react_redux/src/admin/pages/Manage_contact.jsx): `React/redux/react_redux/src/admin/pages/Manage_contact.jsx`
- [User state slice](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/React/redux/react_redux/src/app/userSlice.js): `React/redux/react_redux/src/app/userSlice.js`

### Graph and Mongo examples

- [GraphQL server](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/mongo_graph/server.js): `graph/mongo_graph/server.js`
- [GraphQL schema](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/mongo_graph/schema/typeDefs.js): `graph/mongo_graph/schema/typeDefs.js`
- [User resolvers](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/mongo_graph/schema/resolvers.js): `graph/mongo_graph/schema/resolvers.js`
- [Mongo user model](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/mongo_graph/models/User.js): `graph/mongo_graph/models/User.js`
- [Node Mongo example](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/node_mongo/index.js): `graph/node_mongo/index.js`
- [Graph example](https://github.com/rajeshnagar701/14th_oct_mern_2025/blob/master/graph/graph/index.js): `graph/graph/index.js`

### Other components

- **Site visitor**
- **Admin user**
- **GraphQL client**

## Connections

- Demo app selector → CRUD demo: renders (selectable) (evidence: `React/demo_app/src/App.js`)
- Demo app selector → Lifecycle demo: renders (selectable) (evidence: `React/demo_app/src/App.js`)
- Demo app selector → Material UI demo: renders (selectable) (evidence: `React/demo_app/src/App.js`)
- Demo app selector → Hooks and patterns: selects (other demos) (evidence: `React/demo_app/src/App.js`)
- Site visitor → Site app: opens
- Site app → Site routes: renders (evidence: `React/firebase/web/src/App.js`)
- Site routes → Site header: renders (evidence: `React/firebase/web/src/Main.jsx`)
- Site routes → Content pages: routes to (evidence: `React/firebase/web/src/Main.jsx`)
- Site routes → Services page: routes to (evidence: `React/firebase/web/src/Main.jsx`)
- Site routes → Forms and accounts: routes to (evidence: `React/firebase/web/src/Main.jsx`)
- Site routes → Project products: routes to (evidence: `React/firebase/web/src/Main.jsx`)
- Admin user → Admin app and login state: opens
- Admin app and login state → Admin routes: renders (evidence: `React/firebase/admin/src/App.js`)
- Admin routes → Product management: routes to (evidence: `React/firebase/admin/src/Main.jsx`)
- Admin routes → Dashboard: routes to (evidence: `React/firebase/admin/src/Main.jsx`)
- Admin routes → User management: routes to (evidence: `React/firebase/admin/src/Main.jsx`)
- Redux app routes → User management: routes to (evidence: `React/redux/react_redux/src/App.js`)
- Redux app routes → Contact management: routes to (evidence: `React/redux/react_redux/src/App.js`)
- User management → User state slice: dispatches actions (evidence: `React/redux/react_redux/src/admin/pages/Manage_user.jsx`)
- GraphQL client → GraphQL server: sends queries
- GraphQL server → GraphQL schema: configures (evidence: `graph/mongo_graph/server.js`)
- GraphQL server → User resolvers: configures (evidence: `graph/mongo_graph/server.js`)
- User resolvers → Mongo user model: queries and updates (evidence: `graph/mongo_graph/schema/resolvers.js`)
