# sabari432/-education-website-using-reactjs architecture

> Architecture diagram of the GitHub repository sabari432/-education-website-using-reactjs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-08-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sabari432/-education-website-using-reactjs
- Repository: https://github.com/sabari432/-education-website-using-reactjs

## Overview

#### Purpose and Runtime
This is a static education/online-course marketing site implemented as a React single-page application. It runs in the browser from `public/index.html`, bootstrapped by `src/index.js`, with the root composition in `src/App.js`. The repository contains no backend, API layer, authentication, or persistence boundary.

#### Application Shell and Navigation
`src/App.js` is the top-level control point and likely owns page selection/routing plus shared layout. Header and footer components establish site-wide navigation and persistent chrome:
- `src/components/common/header/Header.jsx`
- `src/components/common/header/Head.jsx`
- `src/components/common/footer/Footer.jsx`

Shared visual primitives include reusable page-back/banner and heading elements:
- `src/components/common/back/Back.jsx`
- `src/components/common/heading/Heading.jsx`

#### Home Landing-Page Composition
The home route is assembled from focused promotional sections rather than a monolithic page. `src/components/home/Home.jsx` coordinates the home content, including the hero, introductory/about, featured course/pricing, blog, and testimonial stages:
- `src/components/home/hero/Hero.jsx`
- `src/components/home/HAbout.jsx`
- `src/components/home/Hprice.jsx`
- `src/components/home/Hblog.jsx`
- `src/components/home/testimonal/Testimonal.jsx`

#### Content-Collection Pages
Dedicated sections render reusable cards for the major catalog-like content types. These form a consistent “container page → card renderer” architecture:
- Courses: `src/components/allcourses/CourseHome.jsx`, `src/components/allcourses/CoursesCard.jsx`, `src/components/allcourses/OnlineCourses.jsx`
- Blog: `src/components/blog/Blog.jsx`, `src/components/blog/BlogCard.jsx`
- Team: `src/components/team/Team.jsx`, `src/components/team/TeamCard.jsx`
- About: `src/components/about/About.jsx`, `src/components/about/AboutCard.jsx`

#### Commercial and Contact Flows
Pricing is represented as a standalone page with plan cards and FAQ content, while contact is a separate presentation/form boundary. There is no evidence of submission integration or payment processing in the tree:
- `src/components/pricing/Pricing.jsx`
- `src/components/pricing/PriceCard.jsx`
- `src/components/pricing/Faq.jsx`
- `src/components/contact/Contact.jsx`

#### Data and Asset Boundary
Page content is likely locally sourced from `src/dummydata.js`; card components consume that static data rather than remote services. Images are bundled as public static assets and referenced from the browser-accessible `public` directory:
- `src/dummydata.js`
- `public/images/courses`
- `public/images/blog`
- `public/images/team`

#### Styling and Build Infrastructure
Styling is component-area scoped through CSS files alongside JSX, with global application styling in `src/App.css`. The Node/npm dependency and build boundary is defined by `package.json` and `package-lock.json`; deployment is compatible with static hosting, as suggested by the README’s Netlify screenshot.
- `src/App.css`
- `src/components/common/header/header.css`
- `package.json`

Main entry points: [`src/App.js`](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/App.js) (App shell), [`src/dummydata.js`](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/dummydata.js) (Local content data), [`src/components/home/hero/Hero.jsx`](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/home/hero/Hero.jsx) (Home promo sections), [`src/components/allcourses/CoursesCard.jsx`](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/allcourses/CoursesCard.jsx) (Course cards)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Browser Runtime"]
  node_html["HTML entry<br/>static entry<br/>[index.html]"]
  node_bootstrap["React bootstrap<br/>entry module<br/>[index.js]"]
  node_app["App shell<br/>root composition<br/>[App.js]"]
  node_site_chrome["Header and footer<br/>shared navigation<br/>[Header.jsx]"]
  node_heading_back["Heading and banner<br/>visual primitives<br/>[Back.jsx]"]
end

subgraph group_pages["Page Composition"]
  node_home["Home page<br/>landing composition<br/>[Home.jsx]"]
  node_home_sections["Home promo sections<br/>[Hero.jsx]"]
  node_courses["Courses pages<br/>catalog composition<br/>[CourseHome.jsx]"]
  node_course_cards["Course cards<br/>card renderer<br/>[CoursesCard.jsx]"]
  node_blog["Blog page<br/>collection page<br/>[Blog.jsx]"]
  node_blog_cards["Blog cards<br/>card renderer<br/>[BlogCard.jsx]"]
  node_team_about["Team and about<br/>collection pages<br/>[Team.jsx]"]
  node_pricing["Pricing page<br/>commercial presentation<br/>[Pricing.jsx]"]
  node_contact["Contact page<br/>contact form boundary<br/>[Contact.jsx]"]
end

subgraph group_content["Static Content"]
  node_dummy_data[("Local content data<br/>static data module<br/>[dummydata.js]")]
end

subgraph group_delivery["Build and Assets"]
  node_images["Public images<br/>static assets"]
  node_styles["Component CSS<br/>styling<br/>[App.css]"]
  node_npm{{"npm build boundary<br/>package manifest<br/>[package.json]"}}
end

node_html -->|"loads"| node_bootstrap
node_bootstrap -->|"mounts"| node_app
node_app -->|"renders shared chrome"| node_site_chrome
node_app -->|"uses"| node_heading_back
node_app -->|"selects route"| node_home
node_app -->|"selects route"| node_courses
node_app -->|"selects route"| node_blog
node_app -->|"selects route"| node_team_about
node_app -->|"selects route"| node_pricing
node_app -->|"selects route"| node_contact
node_home -->|"composes"| node_home_sections
node_courses -->|"renders"| node_course_cards
node_blog -->|"renders"| node_blog_cards
node_home_sections -->|"reads"| node_dummy_data
node_course_cards -->|"reads"| node_dummy_data
node_blog_cards -->|"reads"| node_dummy_data
node_team_about -->|"reads"| node_dummy_data
node_pricing -->|"reads"| node_dummy_data
node_home_sections -->|"references"| node_images
node_course_cards -->|"references"| node_images
node_blog_cards -->|"references"| node_images
node_app -->|"applies"| node_styles
node_npm -.->|"builds for static hosting"| node_html

click node_html "https://github.com/sabari432/-education-website-using-reactjs/blob/main/public/index.html"
click node_bootstrap "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/index.js"
click node_app "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/App.js"
click node_site_chrome "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/common/header/Header.jsx"
click node_heading_back "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/common/back/Back.jsx"
click node_home "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/home/Home.jsx"
click node_home_sections "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/home/hero/Hero.jsx"
click node_courses "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/allcourses/CourseHome.jsx"
click node_course_cards "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/allcourses/CoursesCard.jsx"
click node_blog "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/blog/Blog.jsx"
click node_blog_cards "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/blog/BlogCard.jsx"
click node_team_about "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/team/Team.jsx"
click node_pricing "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/pricing/Pricing.jsx"
click node_contact "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/contact/Contact.jsx"
click node_dummy_data "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/dummydata.js"
click node_images "https://github.com/sabari432/-education-website-using-reactjs/tree/main/public/images/courses"
click node_styles "https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/App.css"
click node_npm "https://github.com/sabari432/-education-website-using-reactjs/blob/main/package.json"

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_html,node_bootstrap,node_app,node_site_chrome,node_heading_back toneBlue
class node_home,node_home_sections,node_courses,node_course_cards,node_blog,node_blog_cards,node_team_about,node_pricing,node_contact toneAmber
class node_dummy_data toneMint
class node_images,node_styles,node_npm toneRose
```

## Components

### Browser Runtime

- [HTML entry](https://github.com/sabari432/-education-website-using-reactjs/blob/main/public/index.html): static entry · `public/index.html`
- [React bootstrap](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/index.js): entry module · `src/index.js`
- [App shell](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/App.js): root composition · Owns route selection and shared layout. · `src/App.js`
- [Header and footer](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/common/header/Header.jsx): shared navigation · `src/components/common/header/Header.jsx`
- [Heading and banner](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/common/back/Back.jsx): visual primitives · `src/components/common/back/Back.jsx`

### Page Composition

- [Home page](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/home/Home.jsx): landing composition · `src/components/home/Home.jsx`
- [Home promo sections](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/home/hero/Hero.jsx): hero, about, pricing, blog, testimonials · `src/components/home/hero/Hero.jsx`
- [Courses pages](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/allcourses/CourseHome.jsx): catalog composition · Course home and online-course views render reusable cards. · `src/components/allcourses/CourseHome.jsx`
- [Course cards](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/allcourses/CoursesCard.jsx): card renderer · `src/components/allcourses/CoursesCard.jsx`
- [Blog page](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/blog/Blog.jsx): collection page · `src/components/blog/Blog.jsx`
- [Blog cards](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/blog/BlogCard.jsx): card renderer · `src/components/blog/BlogCard.jsx`
- [Team and about](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/team/Team.jsx): collection pages · Each page uses a dedicated card renderer. · `src/components/team/Team.jsx`
- [Pricing page](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/pricing/Pricing.jsx): commercial presentation · Composes plan cards and FAQ content without payment integration. · `src/components/pricing/Pricing.jsx`
- [Contact page](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/components/contact/Contact.jsx): contact form boundary · Presentation-only; no submission integration is present. · `src/components/contact/Contact.jsx`

### Static Content

- [Local content data](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/dummydata.js): static data module · Supplies page and card content without remote APIs. · `src/dummydata.js`

### Build and Assets

- [Public images](https://github.com/sabari432/-education-website-using-reactjs/tree/main/public/images/courses): static assets · Course, blog, and team imagery served from public assets. · `public/images/courses`
- [Component CSS](https://github.com/sabari432/-education-website-using-reactjs/blob/main/src/App.css): styling · Global and colocated styles define the site presentation. · `src/App.css`
- [npm build boundary](https://github.com/sabari432/-education-website-using-reactjs/blob/main/package.json): package manifest · Defines dependencies and static-site build tooling. · `package.json`

## Connections

- HTML entry → React bootstrap: loads
- React bootstrap → App shell: mounts
- App shell → Header and footer: renders shared chrome
- App shell → Heading and banner: uses
- App shell → Home page: selects route
- App shell → Courses pages: selects route
- App shell → Blog page: selects route
- App shell → Team and about: selects route
- App shell → Pricing page: selects route
- App shell → Contact page: selects route
- Home page → Home promo sections: composes
- Courses pages → Course cards: renders
- Blog page → Blog cards: renders
- Home promo sections → Local content data: reads
- Course cards → Local content data: reads
- Blog cards → Local content data: reads
- Team and about → Local content data: reads
- Pricing page → Local content data: reads
- Home promo sections → Public images: references
- Course cards → Public images: references
- Blog cards → Public images: references
- App shell → Component CSS: applies
- npm build boundary → HTML entry: builds for static hosting
