# asabeneh/30-days-of-react architecture

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

- Interactive diagram: https://gitdiagram.com/asabeneh/30-days-of-react
- Repository: https://github.com/asabeneh/30-days-of-react

## Overview

30 Days Of React is a hands-on learning challenge, not a single deployable application. Its README lays out a progression from React setup and component fundamentals through state, forms, routing, data fetching, hooks, and projects. The sample application illustrates the user-facing loop: render a component-based page, respond to button actions by updating state, and display the resulting message and country data. The graph combines that documented curriculum with the sampled Day 10 application; unsampled lesson implementations are represented only at their listed directory paths.

Main entry points: [`10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/main/Main.js`](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/main/Main.js) (Main content), [`10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/App.js`](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/App.js) (Application state), [`03_Day_Setting_Up/03_setting_up_boilerplate`](https://github.com/asabeneh/30-days-of-react/tree/master/03_Day_Setting_Up/03_setting_up_boilerplate) (React foundations), [`04_Day_Components/04_components_boilerplate`](https://github.com/asabeneh/30-days-of-react/tree/master/04_Day_Components/04_components_boilerplate) (Components and props)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_curriculum["Learning curriculum"]
  node_challenge["30-day challenge"]
  node_foundations["React foundations"]
  node_components["Components and props"]
  node_interactive["Interactive UI"]
  node_forms["Forms and events"]
  node_routing["Routing and fetching"]
  node_hooks["Hooks and context"]
  node_projects["Projects and exploration"]
end

subgraph group_application["Sample application"]
  node_app["Application state<br/>[App.js]"]
end

subgraph group_ui["UI components"]
  node_header["Page header<br/>[Header.js]"]
  node_main["Main content<br/>[Main.js]"]
  node_footer["Page footer<br/>[Footer.js]"]
  node_button["Action buttons<br/>[Button.js]"]
  node_country["Country display<br/>[Country.js]"]
  node_usercard["User card<br/>[UserCard.js]"]
  node_hexcolor["Hex color display<br/>[HexaColor.js]"]
end

subgraph group_support["Data and helpers"]
  node_countries["Country records<br/>[countries.js]"]
  node_dateutil["Date formatter"]
  node_colorutil["Color generator"]
  node_buttonstyle["Button styling<br/>[button-styles.js]"]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_challenge
node_challenge -->|"begins with"| node_foundations
node_foundations -->|"introduces"| node_components
node_components -->|"progresses to"| node_interactive
node_interactive -->|"covers"| node_forms
node_forms -->|"continues to"| node_routing
node_routing -->|"continues to"| node_hooks
node_hooks -->|"applies in"| node_projects
node_app -->|"renders"| node_header
node_app -->|"renders"| node_main
node_app -->|"renders"| node_footer
node_app -->|"reads"| node_countries
node_app -->|"calls"| node_dateutil
node_header -->|"calls"| node_dateutil
node_main -->|"renders"| node_button
node_main -->|"renders"| node_country
node_main -->|"renders"| node_usercard
node_main -->|"renders"| node_hexcolor
node_main -->|"reads"| node_buttonstyle
node_hexcolor -->|"calls"| node_colorutil

click node_foundations "https://github.com/asabeneh/30-days-of-react/tree/master/03_Day_Setting_Up/03_setting_up_boilerplate"
click node_components "https://github.com/asabeneh/30-days-of-react/tree/master/04_Day_Components/04_components_boilerplate"
click node_interactive "https://github.com/asabeneh/30-days-of-react/tree/master/08_Day_States/08_states_boilerplate"
click node_forms "https://github.com/asabeneh/30-days-of-react/tree/master/12_Day_Forms/12_forms_boilerplate"
click node_routing "https://github.com/asabeneh/30-days-of-react/tree/master/17_React_Router/17_react_router_boilerplate"
click node_hooks "https://github.com/asabeneh/30-days-of-react/tree/master/21_Introducing_Hooks/21_introducing_hooks_boilerplate"
click node_projects "https://github.com/asabeneh/30-days-of-react/tree/master/24_projects/24_projects_boilerplate"
click node_app "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/App.js"
click node_header "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/header/Header.js"
click node_main "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/main/Main.js"
click node_footer "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/footer/Footer.js"
click node_button "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/shared/Button.js"
click node_country "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/country/Country.js"
click node_usercard "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/user/UserCard.js"
click node_hexcolor "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/color/HexaColor.js"
click node_countries "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/data/countries.js"
click node_dateutil "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/utils/display-date-and-time.js"
click node_colorutil "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/utils/hexadecimal-color-generator.js"
click node_buttonstyle "https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/styles/button-styles.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_challenge,node_foundations,node_components,node_interactive,node_forms,node_routing,node_hooks,node_projects toneBlue
class node_app toneAmber
class node_header,node_main,node_footer,node_button,node_country,node_usercard,node_hexcolor toneMint
class node_countries,node_dateutil,node_colorutil,node_buttonstyle toneRose
class node_learner toneIndigo
```

## Components

### Learning curriculum

- **30-day challenge**
- [React foundations](https://github.com/asabeneh/30-days-of-react/tree/master/03_Day_Setting_Up/03_setting_up_boilerplate): `03_Day_Setting_Up/03_setting_up_boilerplate`
- [Components and props](https://github.com/asabeneh/30-days-of-react/tree/master/04_Day_Components/04_components_boilerplate): `04_Day_Components/04_components_boilerplate`
- [Interactive UI](https://github.com/asabeneh/30-days-of-react/tree/master/08_Day_States/08_states_boilerplate): `08_Day_States/08_states_boilerplate`
- [Forms and events](https://github.com/asabeneh/30-days-of-react/tree/master/12_Day_Forms/12_forms_boilerplate): `12_Day_Forms/12_forms_boilerplate`
- [Routing and fetching](https://github.com/asabeneh/30-days-of-react/tree/master/17_React_Router/17_react_router_boilerplate): `17_React_Router/17_react_router_boilerplate`
- [Hooks and context](https://github.com/asabeneh/30-days-of-react/tree/master/21_Introducing_Hooks/21_introducing_hooks_boilerplate): `21_Introducing_Hooks/21_introducing_hooks_boilerplate`
- [Projects and exploration](https://github.com/asabeneh/30-days-of-react/tree/master/24_projects/24_projects_boilerplate): `24_projects/24_projects_boilerplate`

### Sample application

- [Application state](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/App.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/App.js`

### UI components

- [Page header](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/header/Header.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/header/Header.js`
- [Main content](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/main/Main.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/main/Main.js`
- [Page footer](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/footer/Footer.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/footer/Footer.js`
- [Action buttons](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/shared/Button.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/shared/Button.js`
- [Country display](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/country/Country.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/country/Country.js`
- [User card](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/user/UserCard.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/user/UserCard.js`
- [Hex color display](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/color/HexaColor.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/color/HexaColor.js`

### Data and helpers

- [Country records](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/data/countries.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/data/countries.js`
- [Date formatter](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/utils/display-date-and-time.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/utils/display-date-and-time.js`
- [Color generator](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/utils/hexadecimal-color-generator.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/utils/hexadecimal-color-generator.js`
- [Button styling](https://github.com/asabeneh/30-days-of-react/blob/master/10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/styles/button-styles.js): `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/styles/button-styles.js`

### Other components

- **Learner**

## Connections

- Learner → 30-day challenge: studies
- 30-day challenge → React foundations: begins with
- React foundations → Components and props: introduces
- Components and props → Interactive UI: progresses to
- Interactive UI → Forms and events: covers
- Forms and events → Routing and fetching: continues to
- Routing and fetching → Hooks and context: continues to
- Hooks and context → Projects and exploration: applies in
- Application state → Page header: renders (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/App.js`)
- Application state → Main content: renders (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/App.js`)
- Application state → Page footer: renders (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/App.js`)
- Application state → Country records: reads (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/App.js`)
- Application state → Date formatter: calls (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/App.js`)
- Page header → Date formatter: calls (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/header/Header.js`)
- Main content → Action buttons: renders (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/main/Main.js`)
- Main content → Country display: renders (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/main/Main.js`)
- Main content → User card: renders (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/main/Main.js`)
- Main content → Hex color display: renders (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/main/Main.js`)
- Main content → Button styling: reads (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/main/Main.js`)
- Hex color display → Color generator: calls (evidence: `10_React_Project_Folder_Structure/10_react_project_folder_structure_boilerplate/src/components/color/HexaColor.js`)
