# jainavinash881/abhyaas-yoga architecture

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

- Interactive diagram: https://gitdiagram.com/jainavinash881/abhyaas-yoga
- Repository: https://github.com/jainavinash881/abhyaas-yoga

## Overview

1. This repository is a single-page React application bootstrapped with Create React App. There is no backend code, API layer, or database in the repo, so the architecture is entirely client-side.

2. The source of truth is the `src/` tree. Runtime entry starts at `src/index.js`, which mounts the React app into the HTML shell and pulls in global styles from `src/index.css`.

3. `src/App.js` is the top-level composition layer. It likely wires the shared layout and page selection together, with `src/App.css` handling app-scoped styling. In a diagram, this is the central UI container above all pages/components.

4. The UI is split into a small number of feature areas:
   - `src/components/Navbar.jsx` for global navigation/chrome
   - `src/pages/Home.jsx` for the landing page
   - `src/pages/Schedule.jsx` for the schedule view
   This suggests a simple page-level architecture rather than a deep component hierarchy.

5. The data flow is straightforward: user loads the static HTML shell, React boots from `index.js`, `App` renders the shared navigation, and the page components render the visible content. Any screen transitions are handled entirely in the client.

6. There are no obvious external service dependencies in the repository structure. The app appears to be self-contained, with content and assets bundled locally rather than fetched from an API.

7. Static media is part of the app bundle. `docs/assets/abhyaas-video.mp4` and files under `docs/static/media` indicate at least one embedded video asset and some third-party packaged media/fonts. These are served as static files, not generated dynamically.

8. Styling is mostly CSS-based. There are source styles in `src/index.css` and `src/App.css`, and the committed `docs/static/css/*.css` files show production builds with hashed asset names.

9. Testing support is minimal but present. `src/App.test.js`, `src/setupTests.js`, and `src/reportWebVitals.js` are the standard CRA testing/metrics hooks, so the repo includes basic test scaffolding and web-vitals instrumentation support.

10. The `public/` directory contains the HTML template and PWA metadata (`index.html`, `manifest.json`, `robots.txt`). These files define the app shell and browser-facing metadata used during build and deployment.

11. The `docs/` directory is a committed production build output, not source code. Its hashed JS/CSS bundles, asset manifest, and `404.html` strongly suggest the app is deployed as a static site, likely via GitHub Pages or a similar static host with client-side routing support.

12. From an architecture-diagram perspective, the key boundaries are:
   - browser/runtime shell versus React application code
   - top-level app container versus page components
   - source assets versus built static artifacts in `docs/`
   - no server-side boundary, because all behavior is delivered as prebuilt static files

Main entry points: [`src/index.js`](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/index.js) (Entry boot), [`src/App.js`](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/App.js) (App), [`docs/index.html`](https://github.com/jainavinash881/abhyaas-yoga/blob/main/docs/index.html) (Deployed HTML), [`public/index.html`](https://github.com/jainavinash881/abhyaas-yoga/blob/main/public/index.html) (HTML shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_src["Source App"]
  node_src_index["Entry boot<br/>react entry<br/>[index.js]"]
  node_app["App<br/>ui root<br/>[App.js]"]
  node_navbar["Navbar<br/>navigation UI<br/>[Navbar.jsx]"]
  node_home["Home<br/>page<br/>[Home.jsx]"]
  node_schedule["Schedule<br/>page<br/>[Schedule.jsx]"]
  node_src_styles["Source CSS<br/>styles<br/>[App.css]"]
  node_index_css["Global CSS<br/>styles<br/>[index.css]"]
  node_tests["CRA tests<br/>test scaffold<br/>[App.test.js]"]
  node_metrics["Vitals hook<br/>instrumentation<br/>[reportWebVitals.js]"]
end

subgraph group_public["Public Shell"]
  node_public_index["HTML shell<br/>template<br/>[index.html]"]
  node_manifest["Manifest<br/>pwa metadata<br/>[manifest.json]"]
end

subgraph group_docs["Built Site"]
  node_docs_index["Deployed HTML<br/>static deploy<br/>[index.html]"]
  node_docs_bundle["Built bundles<br/>compiled JS/CSS<br/>[main.1857ad8c.js]"]
  node_docs_assets["Static media<br/>asset bundle<br/>[abhyaas-video.mp4]"]
  node_docs_404["404 fallback<br/>static route<br/>[404.html]"]
end

node_browser(("Browser<br/>runtime"))

node_browser -->|"loads"| node_public_index
node_public_index -->|"mounts"| node_src_index
node_src_index -->|"renders"| node_app
node_app -->|"includes"| node_navbar
node_app -->|"shows"| node_home
node_app -->|"shows"| node_schedule
node_src_index -->|"imports"| node_index_css
node_app -->|"imports"| node_src_styles
node_src_index -.->|"hooks"| node_metrics
node_src_index -.->|"supports"| node_tests
node_public_index -.->|"references"| node_manifest
node_browser -->|"loads"| node_docs_index
node_docs_index -->|"includes"| node_docs_bundle
node_docs_index -->|"embeds"| node_docs_assets
node_docs_index -.->|"fallback"| node_docs_404
node_public_index -.->|"builds to"| node_docs_index
node_src_index -.->|"compiles to"| node_docs_bundle

click node_public_index "https://github.com/jainavinash881/abhyaas-yoga/blob/main/public/index.html"
click node_src_index "https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/index.js"
click node_app "https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/App.js"
click node_navbar "https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/components/Navbar.jsx"
click node_home "https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/pages/Home.jsx"
click node_schedule "https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/pages/Schedule.jsx"
click node_src_styles "https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/App.css"
click node_index_css "https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/index.css"
click node_tests "https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/App.test.js"
click node_metrics "https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/reportWebVitals.js"
click node_manifest "https://github.com/jainavinash881/abhyaas-yoga/blob/main/public/manifest.json"
click node_docs_index "https://github.com/jainavinash881/abhyaas-yoga/blob/main/docs/index.html"
click node_docs_bundle "https://github.com/jainavinash881/abhyaas-yoga/blob/main/docs/static/js/main.1857ad8c.js"
click node_docs_assets "https://github.com/jainavinash881/abhyaas-yoga/blob/main/docs/assets/abhyaas-video.mp4"
click node_docs_404 "https://github.com/jainavinash881/abhyaas-yoga/blob/main/docs/404.html"

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_src_index,node_app,node_navbar,node_home,node_schedule,node_src_styles,node_index_css,node_tests,node_metrics toneBlue
class node_public_index,node_manifest toneAmber
class node_docs_index,node_docs_bundle,node_docs_assets,node_docs_404 toneMint
class node_browser toneNeutral
```

## Components

### Source App

React application source code and styling.

- [Entry boot](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/index.js): react entry · Bootstraps React and mounts the app into the shell. · `src/index.js`
- [App](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/App.js): ui root · Top-level composition layer for navigation and page selection. · `src/App.js`
- [Navbar](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/components/Navbar.jsx): navigation UI · Global chrome and navigation shared across views. · `src/components/Navbar.jsx`
- [Home](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/pages/Home.jsx): page · Landing page content. · `src/pages/Home.jsx`
- [Schedule](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/pages/Schedule.jsx): page · Schedule view content. · `src/pages/Schedule.jsx`
- [Source CSS](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/App.css): styles · App and global styling for the React source. · `src/App.css`
- [Global CSS](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/index.css): styles · Base styles loaded at application startup. · `src/index.css`
- [CRA tests](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/App.test.js): test scaffold · Default React test and setup hooks. · `src/App.test.js`
- [Vitals hook](https://github.com/jainavinash881/abhyaas-yoga/blob/main/src/reportWebVitals.js): instrumentation · Web vitals reporting support from CRA. · `src/reportWebVitals.js`

### Public Shell

HTML template and browser metadata used at build time.

- [HTML shell](https://github.com/jainavinash881/abhyaas-yoga/blob/main/public/index.html): template · Root HTML document that hosts the React mount point. · `public/index.html`
- [Manifest](https://github.com/jainavinash881/abhyaas-yoga/blob/main/public/manifest.json): pwa metadata · Browser metadata and install configuration. · `public/manifest.json`

### Built Site

Committed production build output and static assets.

- [Deployed HTML](https://github.com/jainavinash881/abhyaas-yoga/blob/main/docs/index.html): static deploy · Published HTML entry for the built site. · `docs/index.html`
- [Built bundles](https://github.com/jainavinash881/abhyaas-yoga/blob/main/docs/static/js/main.1857ad8c.js): compiled JS/CSS · Hashed production JavaScript and CSS assets. · `docs/static/js/main.1857ad8c.js`
- [Static media](https://github.com/jainavinash881/abhyaas-yoga/blob/main/docs/assets/abhyaas-video.mp4): asset bundle · Committed video and packaged media assets. · `docs/assets/abhyaas-video.mp4`
- [404 fallback](https://github.com/jainavinash881/abhyaas-yoga/blob/main/docs/404.html): static route · Client-side routing fallback page for static hosting. · `docs/404.html`

### Other components

- **Browser**: runtime · Loads the static site and executes the client app.

## Connections

- Browser → HTML shell: loads · The browser requests the HTML shell first.
- HTML shell → Entry boot: mounts · The shell provides the root element for React to attach to.
- Entry boot → App: renders · Entry code boots the top-level app.
- App → Navbar: includes · Shared navigation is composed at the app root.
- App → Home: shows · One of the main client-side views.
- App → Schedule: shows · One of the main client-side views.
- Entry boot → Global CSS: imports · Global styles are loaded during boot.
- App → Source CSS: imports · App-scoped styling supports the root UI.
- Entry boot → Vitals hook: hooks · Startup wiring includes web-vitals reporting.
- Entry boot → CRA tests: supports · Standard CRA test setup accompanies the entry layer.
- HTML shell → Manifest: references · The template links browser/PWA metadata.
- Browser → Deployed HTML: loads · The deployed site is served as static HTML.
- Deployed HTML → Built bundles: includes · Published HTML pulls in hashed build assets.
- Deployed HTML → Static media: embeds · Static media is shipped with the deployed bundle.
- Deployed HTML → 404 fallback: fallback · Static hosting uses a fallback page for client-side routes.
- HTML shell → Deployed HTML: builds to · Source HTML template becomes the deployed HTML during build.
- Entry boot → Built bundles: compiles to · React source is emitted into production bundles.
