# duclam744/myfpt-bonus2-he186447 architecture

> Architecture diagram of the GitHub repository duclam744/myfpt-bonus2-he186447, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/duclam744/myfpt-bonus2-he186447
- Repository: https://github.com/duclam744/myfpt-bonus2-he186447

## Overview

This is a small Expo/React Native sample app presenting an FPT-style feature catalog and a profile screen. The user enters the app, reaches tab navigation, then views the searchable, switchable list/grid of categorized app features or opens the profile. The catalog data and filtering live in AllApp; Section and ListItem render its categories and entries. Profile renders a static profile card and menu rows through ProfileItem. The README describes the Snack editing and preview workflow, not additional runtime capabilities; this map reflects the sampled source and documented sample-app purpose.

Main entry points: [`navigation/Tabs.js`](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/navigation/Tabs.js) (Bottom tabs), [`index.js`](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/index.js) (Expo entry), [`App.js`](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/App.js) (App shell), [`screens/AllApp.js`](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/screens/AllApp.js) (App catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_startup["App startup"]
  node_entry["Expo entry<br/>[index.js]"]
  node_app["App shell<br/>[App.js]"]
end

subgraph group_navigation["Tab navigation"]
  node_tabs["Bottom tabs<br/>[Tabs.js]"]
end

subgraph group_screens["Screens and UI"]
  node_catalog["App catalog<br/>[AllApp.js]"]
  node_section["Catalog section<br/>[Section.js]"]
  node_listitem["Feature item<br/>[ListItem.js]"]
  node_profile["Profile screen<br/>[Profile.js]"]
  node_profileitem["Profile row<br/>[ProfileItem.js]"]
end

node_user(("App user"))

node_user -->|"launches"| node_entry
node_entry -->|"registers"| node_app
node_app -->|"renders"| node_tabs
node_tabs -->|"routes"| node_catalog
node_tabs -->|"routes"| node_profile
node_catalog -->|"renders"| node_section
node_section -->|"renders"| node_listitem
node_profile -->|"renders"| node_profileitem

click node_entry "https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/index.js"
click node_app "https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/App.js"
click node_tabs "https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/navigation/Tabs.js"
click node_catalog "https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/screens/AllApp.js"
click node_section "https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/components/Section.js"
click node_listitem "https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/components/ListItem.js"
click node_profile "https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/screens/Profile.js"
click node_profileitem "https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/components/ProfileItem.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_tabs toneAmber
class node_catalog,node_section,node_listitem,node_profile,node_profileitem toneMint
```

## Components

### App startup

- [Expo entry](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/index.js): `index.js`
- [App shell](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/App.js): `App.js`

### Tab navigation

- [Bottom tabs](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/navigation/Tabs.js): `navigation/Tabs.js`

### Screens and UI

- [App catalog](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/screens/AllApp.js): `screens/AllApp.js`
- [Catalog section](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/components/Section.js): `components/Section.js`
- [Feature item](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/components/ListItem.js): `components/ListItem.js`
- [Profile screen](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/screens/Profile.js): `screens/Profile.js`
- [Profile row](https://github.com/duclam744/myfpt-bonus2-he186447/blob/main/components/ProfileItem.js): `components/ProfileItem.js`

### Other components

- **App user**

## Connections

- App user → Expo entry: launches (evidence: `README.md`)
- Expo entry → App shell: registers (evidence: `index.js`)
- App shell → Bottom tabs: renders (evidence: `App.js`)
- Bottom tabs → App catalog: routes (evidence: `navigation/Tabs.js`)
- Bottom tabs → Profile screen: routes (evidence: `navigation/Tabs.js`)
- App catalog → Catalog section: renders (evidence: `screens/AllApp.js`)
- Catalog section → Feature item: renders (evidence: `components/Section.js`)
- Profile screen → Profile row: renders (evidence: `screens/Profile.js`)
