# markaniban10/mobileapp-student-task-planner architecture

> Architecture diagram of the GitHub repository markaniban10/mobileapp-student-task-planner, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/markaniban10/mobileapp-student-task-planner
- Repository: https://github.com/markaniban10/mobileapp-student-task-planner

## Overview

This is a small Expo/React Native task planner. Users view a task list, add or edit tasks with titles and deadlines, filter by subject, toggle completion, and delete tasks. Task state is held in HomeScreen for the app session; AddTaskScreen receives it through navigation parameters and returns changes through setters. The excerpts show no persistence or external service. Styling is shared by both screens. Relationships are limited to those visible in the supplied source excerpts.

Main entry points: [`HomeScreen.js`](https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/HomeScreen.js) (Task list), [`AddTaskScreen.js`](https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/AddTaskScreen.js) (Task form), [`App.js`](https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/App.js) (App navigator), [`index.js`](https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/index.js) (Expo entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["Navigation"]
  node_entry["Expo entry<br/>[index.js]"]
  node_app["App navigator<br/>[App.js]"]
end

subgraph group_tasks["Task management"]
  node_home["Task list<br/>[HomeScreen.js]"]
  node_form["Task form<br/>[AddTaskScreen.js]"]
end

subgraph group_presentation["Presentation"]
  node_styles["Shared styles<br/>[globalStyles.js]"]
end

node_user(("User"))

node_user -->|"opens app"| node_entry
node_entry -->|"registers"| node_app
node_app -->|"routes to"| node_home
node_app -->|"routes to"| node_form
node_home -->|"passes task state"| node_form
node_form -->|"updates task state"| node_home
node_home -->|"uses styles"| node_styles
node_form -->|"uses styles"| node_styles

click node_entry "https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/index.js"
click node_app "https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/App.js"
click node_home "https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/HomeScreen.js"
click node_form "https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/AddTaskScreen.js"
click node_styles "https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/globalStyles.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_entry,node_app,node_user toneBlue
class node_home,node_form toneAmber
class node_styles toneMint
```

## Components

### Navigation

- [Expo entry](https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/index.js): `index.js`
- [App navigator](https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/App.js): `App.js`

### Task management

- [Task list](https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/HomeScreen.js): `HomeScreen.js`
- [Task form](https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/AddTaskScreen.js): `AddTaskScreen.js`

### Presentation

- [Shared styles](https://github.com/markaniban10/mobileapp-student-task-planner/blob/main/globalStyles.js): `globalStyles.js`

### Other components

- **User**

## Connections

- User → Expo entry: opens app (evidence: `index.js`)
- Expo entry → App navigator: registers (evidence: `index.js`)
- App navigator → Task list: routes to (evidence: `App.js`)
- App navigator → Task form: routes to (evidence: `App.js`)
- Task list → Task form: passes task state (evidence: `HomeScreen.js`)
- Task form → Task list: updates task state (evidence: `AddTaskScreen.js`)
- Task list → Shared styles: uses styles (evidence: `HomeScreen.js`)
- Task form → Shared styles: uses styles (evidence: `AddTaskScreen.js`)
