# sathyaguru19/gurureactproject architecture

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

- Interactive diagram: https://gitdiagram.com/sathyaguru19/gurureactproject
- Repository: https://github.com/sathyaguru19/gurureactproject

## Overview

This is a browser-based productivity app for managing tasks, scheduled events, notes, focus sessions, and progress. Users enter through the React app, navigate to routed pages, and interact with features whose state is stored in browser localStorage; task and calendar reminders can also use browser notifications. The dashboard tracks focus sessions, mood, and weekly completion, while a separate archive displays past weekly scores. The excerpts show the main routes and several page behaviors; TasksCalendarPage is empty, and other unsampled details are not inferred.

Main entry points: [`src/App.js`](https://github.com/sathyaguru19/gurureactproject/blob/main/src/App.js) (Route dispatcher), [`src/components/Layout.js`](https://github.com/sathyaguru19/gurureactproject/blob/main/src/components/Layout.js) (Shared navigation), [`src/pages/DailyTasksPage.js`](https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/DailyTasksPage.js) (Daily tasks), [`src/pages/CalendarPage.js`](https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/CalendarPage.js) (Event calendar)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry and navigation"]
  node_index["React entry<br/>[index.js]"]
  node_app["Route dispatcher<br/>[App.js]"]
  node_layout["Shared navigation<br/>[Layout.js]"]
  node_vitals["Performance metrics<br/>[reportWebVitals.js]"]
end

subgraph group_planning["Tasks and scheduling"]
  node_daily["Daily tasks<br/>[DailyTasksPage.js]"]
  node_calendar["Event calendar<br/>[CalendarPage.js]"]
end

subgraph group_focus["Focus and progress"]
  node_home["Focus dashboard<br/>[HomePage.js]"]
  node_archive["Weekly archive"]
end

subgraph group_personal["Notes and archive"]
  node_notes["Notes and attachments<br/>[NotesPage.js]"]
end

node_user(("App user"))
node_storage[("Browser localStorage")]
node_notifications["Browser notifications"]

node_user -->|"opens app"| node_index
node_index -->|"renders"| node_app
node_index -->|"invokes"| node_vitals
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_daily
node_app -->|"routes to"| node_calendar
node_app -->|"routes to"| node_archive
node_app -->|"routes to"| node_notes
node_home -->|"renders within"| node_layout
node_daily -->|"renders within"| node_layout
node_calendar -->|"renders within"| node_layout
node_archive -->|"renders within"| node_layout
node_notes -->|"renders within"| node_layout
node_layout -->|"reads scores"| node_storage
node_daily -->|"reads and writes"| node_storage
node_daily -->|"requests and sends"| node_notifications
node_calendar -->|"reads and writes"| node_storage
node_calendar -->|"requests and sends"| node_notifications
node_home -->|"reads and writes"| node_storage
node_archive -->|"reads archive"| node_storage
node_notes -->|"reads and writes"| node_storage

click node_index "https://github.com/sathyaguru19/gurureactproject/blob/main/src/index.js"
click node_app "https://github.com/sathyaguru19/gurureactproject/blob/main/src/App.js"
click node_layout "https://github.com/sathyaguru19/gurureactproject/blob/main/src/components/Layout.js"
click node_daily "https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/DailyTasksPage.js"
click node_calendar "https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/CalendarPage.js"
click node_home "https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/HomePage.js"
click node_archive "https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/WeeklyProgressArchive.js"
click node_notes "https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/NotesPage.js"
click node_vitals "https://github.com/sathyaguru19/gurureactproject/blob/main/src/reportWebVitals.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_index,node_app,node_layout,node_vitals,node_user,node_notifications toneBlue
class node_daily,node_calendar,node_storage toneAmber
class node_home,node_archive toneMint
class node_notes toneRose
```

## Components

### App entry and navigation

- [React entry](https://github.com/sathyaguru19/gurureactproject/blob/main/src/index.js): `src/index.js`
- [Route dispatcher](https://github.com/sathyaguru19/gurureactproject/blob/main/src/App.js): `src/App.js`
- [Shared navigation](https://github.com/sathyaguru19/gurureactproject/blob/main/src/components/Layout.js): `src/components/Layout.js`
- [Performance metrics](https://github.com/sathyaguru19/gurureactproject/blob/main/src/reportWebVitals.js): `src/reportWebVitals.js`

### Tasks and scheduling

- [Daily tasks](https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/DailyTasksPage.js): `src/pages/DailyTasksPage.js`
- [Event calendar](https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/CalendarPage.js): `src/pages/CalendarPage.js`

### Focus and progress

- [Focus dashboard](https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/HomePage.js): `src/pages/HomePage.js`
- [Weekly archive](https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/WeeklyProgressArchive.js): `src/pages/WeeklyProgressArchive.js`

### Notes and archive

- [Notes and attachments](https://github.com/sathyaguru19/gurureactproject/blob/main/src/pages/NotesPage.js): `src/pages/NotesPage.js`

### Other components

- **App user**
- **Browser localStorage**
- **Browser notifications**

## Connections

- App user → React entry: opens app (evidence: `src/index.js`)
- React entry → Route dispatcher: renders (evidence: `src/index.js`)
- React entry → Performance metrics: invokes (evidence: `src/index.js`)
- Route dispatcher → Focus dashboard: routes to (evidence: `src/App.js`)
- Route dispatcher → Daily tasks: routes to (evidence: `src/App.js`)
- Route dispatcher → Event calendar: routes to (evidence: `src/App.js`)
- Route dispatcher → Weekly archive: routes to (evidence: `src/App.js`)
- Route dispatcher → Notes and attachments: routes to (evidence: `src/App.js`)
- Focus dashboard → Shared navigation: renders within (evidence: `src/pages/HomePage.js`)
- Daily tasks → Shared navigation: renders within (evidence: `src/pages/DailyTasksPage.js`)
- Event calendar → Shared navigation: renders within (evidence: `src/pages/CalendarPage.js`)
- Weekly archive → Shared navigation: renders within (evidence: `src/pages/WeeklyProgressArchive.js`)
- Notes and attachments → Shared navigation: renders within (evidence: `src/pages/NotesPage.js`)
- Shared navigation → Browser localStorage: reads scores (evidence: `src/components/Layout.js`)
- Daily tasks → Browser localStorage: reads and writes (evidence: `src/pages/DailyTasksPage.js`)
- Daily tasks → Browser notifications: requests and sends (evidence: `src/pages/DailyTasksPage.js`)
- Event calendar → Browser localStorage: reads and writes (evidence: `src/pages/CalendarPage.js`)
- Event calendar → Browser notifications: requests and sends (evidence: `src/pages/CalendarPage.js`)
- Focus dashboard → Browser localStorage: reads and writes (evidence: `src/pages/HomePage.js`)
- Weekly archive → Browser localStorage: reads archive (evidence: `src/pages/WeeklyProgressArchive.js`)
- Notes and attachments → Browser localStorage: reads and writes (evidence: `src/pages/NotesPage.js`)
