# korea-it-academy-team1/routineslim-app architecture

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

- Interactive diagram: https://gitdiagram.com/korea-it-academy-team1/routineslim-app
- Repository: https://github.com/korea-it-academy-team1/routineslim-app

## Overview

RoutineSlim is an Expo/React Native app intended to help users register and manage subscriptions and fixed costs. The documented spending-management workflow is not implemented in the sampled screens: the visible app currently shows a home screen that navigates to a test route. The graph separates that runtime scaffold from the documented product capability and shared presentation layer; the latter is documented, not verified in source. Database, query, state-management, and notification packages are described as installed but unused.

Main entry points: [`src/app/index.tsx`](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/app/index.tsx) (Home screen), [`src/components/themed-text.tsx`](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/themed-text.tsx) (Themed text), [`src/components/themed-view.tsx`](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/themed-view.tsx) (Themed view), [`src/constants/theme.ts`](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/constants/theme.ts) (Theme values)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App navigation"]
  node_home["Home screen<br/>[index.tsx]"]
  node_test["Test screen<br/>[test.tsx]"]
  node_layout["Root layout<br/>[_layout.tsx]"]
  node_fixed_costs["Fixed-cost tracking"]
end

subgraph group_presentation["Presentation"]
  node_splash["Animated splash<br/>[animated-icon.tsx]"]
  node_animated_icon["Animated icon<br/>[animated-icon.tsx]"]
end

subgraph group_shared["Shared UI foundation"]
  node_themed_text["Themed text<br/>[themed-text.tsx]"]
  node_themed_view["Themed view<br/>[themed-view.tsx]"]
  node_theme_hook["Theme hook<br/>[use-theme.ts]"]
  node_theme_values["Theme values<br/>[theme.ts]"]
  node_color_scheme["Web color scheme"]
  node_hint_row["Hint row<br/>[hint-row.tsx]"]
  node_external_link["External link<br/>[external-link.tsx]"]
  node_web_badge["Web badge<br/>[web-badge.tsx]"]
end

node_user(("App user"))

node_user -->|"opens"| node_home
node_user -->|"registers costs"| node_fixed_costs
node_home -->|"navigates"| node_test
node_home -->|"renders"| node_animated_icon
node_home -->|"renders"| node_themed_text
node_home -->|"uses spacing"| node_theme_values
node_layout -->|"renders"| node_splash
node_themed_text -->|"reads colors"| node_theme_hook
node_themed_text -->|"uses fonts"| node_theme_values
node_themed_view -->|"reads colors"| node_theme_hook
node_themed_view -->|"uses colors"| node_theme_values
node_theme_hook -->|"selects palette"| node_theme_values
node_hint_row -->|"renders"| node_themed_text
node_hint_row -->|"renders"| node_themed_view
node_web_badge -->|"renders"| node_themed_text
node_web_badge -->|"renders"| node_themed_view
node_color_scheme -->|"detects preference"| node_user

click node_home "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/app/index.tsx"
click node_test "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/app/test.tsx"
click node_layout "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/app/_layout.tsx"
click node_fixed_costs "https://github.com/korea-it-academy-team1/routineslim-app/tree/dev/src/app"
click node_splash "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/animated-icon.tsx"
click node_animated_icon "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/animated-icon.tsx"
click node_themed_text "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/themed-text.tsx"
click node_themed_view "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/themed-view.tsx"
click node_theme_hook "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/hooks/use-theme.ts"
click node_theme_values "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/constants/theme.ts"
click node_color_scheme "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/hooks/use-color-scheme.web.ts"
click node_hint_row "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/hint-row.tsx"
click node_external_link "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/external-link.tsx"
click node_web_badge "https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/web-badge.tsx"

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_home,node_test,node_layout,node_fixed_costs,node_user toneBlue
class node_splash,node_animated_icon toneAmber
class node_themed_text,node_themed_view,node_theme_hook,node_theme_values,node_color_scheme,node_hint_row,node_external_link,node_web_badge toneMint
```

## Components

### App navigation

- [Home screen](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/app/index.tsx): `src/app/index.tsx`
- [Test screen](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/app/test.tsx): `src/app/test.tsx`
- [Root layout](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/app/_layout.tsx): `src/app/_layout.tsx`
- [Fixed-cost tracking](https://github.com/korea-it-academy-team1/routineslim-app/tree/dev/src/app): `src/app`

### Presentation

- [Animated splash](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/animated-icon.tsx): `src/components/animated-icon.tsx`
- [Animated icon](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/animated-icon.tsx): `src/components/animated-icon.tsx`

### Shared UI foundation

- [Themed text](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/themed-text.tsx): `src/components/themed-text.tsx`
- [Themed view](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/themed-view.tsx): `src/components/themed-view.tsx`
- [Theme hook](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/hooks/use-theme.ts): `src/hooks/use-theme.ts`
- [Theme values](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/constants/theme.ts): `src/constants/theme.ts`
- [Web color scheme](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/hooks/use-color-scheme.web.ts): `src/hooks/use-color-scheme.web.ts`
- [Hint row](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/hint-row.tsx): `src/components/hint-row.tsx`
- [External link](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/external-link.tsx): `src/components/external-link.tsx`
- [Web badge](https://github.com/korea-it-academy-team1/routineslim-app/blob/dev/src/components/web-badge.tsx): `src/components/web-badge.tsx`

### Other components

- **App user**

## Connections

- App user → Home screen: opens (evidence: `README`)
- App user → Fixed-cost tracking: registers costs (evidence: `README`)
- Home screen → Test screen: navigates (evidence: `src/app/index.tsx`)
- Home screen → Animated icon: renders (evidence: `src/app/index.tsx`)
- Home screen → Themed text: renders (evidence: `src/app/index.tsx`)
- Home screen → Theme values: uses spacing (evidence: `src/app/index.tsx`)
- Root layout → Animated splash: renders (evidence: `src/app/_layout.tsx`)
- Themed text → Theme hook: reads colors (evidence: `src/components/themed-text.tsx`)
- Themed text → Theme values: uses fonts (evidence: `src/components/themed-text.tsx`)
- Themed view → Theme hook: reads colors (evidence: `src/components/themed-view.tsx`)
- Themed view → Theme values: uses colors (evidence: `src/components/themed-view.tsx`)
- Theme hook → Theme values: selects palette (evidence: `src/hooks/use-theme.ts`)
- Hint row → Themed text: renders (evidence: `src/components/hint-row.tsx`)
- Hint row → Themed view: renders (evidence: `src/components/hint-row.tsx`)
- Web badge → Themed text: renders (evidence: `src/components/web-badge.tsx`)
- Web badge → Themed view: renders (evidence: `src/components/web-badge.tsx`)
- Web color scheme → App user: detects preference (evidence: `src/hooks/use-color-scheme.web.ts`)
