# hasita-k/kapitbahay-nearest-neighbor architecture

> Architecture diagram of the GitHub repository hasita-k/kapitbahay-nearest-neighbor, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hasita-k/kapitbahay-nearest-neighbor
- Repository: https://github.com/hasita-k/kapitbahay-nearest-neighbor

## Overview

This is a skeletal Expo/React Native app, not an implemented nearest-neighbor product. Its only demonstrated runtime flow registers a placeholder screen. The tree lists a backend directory, but provides no backend source or evidence of frontend-to-backend wiring, so that subsystem is omitted.

Main entry points: [`friendly-neighbor/frontend/index.ts`](https://github.com/hasita-k/kapitbahay-nearest-neighbor/blob/main/friendly-neighbor/frontend/index.ts) (App entry), [`friendly-neighbor/frontend/App.tsx`](https://github.com/hasita-k/kapitbahay-nearest-neighbor/blob/main/friendly-neighbor/frontend/App.tsx) (Placeholder screen)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_mobile["Mobile app"]
  node_entry["App entry<br/>[index.ts]"]
  node_screen["Placeholder screen<br/>[App.tsx]"]
end

node_expo(("Expo runtime"))

node_expo -->|"loads entry"| node_entry
node_entry -->|"registers app"| node_screen

click node_entry "https://github.com/hasita-k/kapitbahay-nearest-neighbor/blob/main/friendly-neighbor/frontend/index.ts"
click node_screen "https://github.com/hasita-k/kapitbahay-nearest-neighbor/blob/main/friendly-neighbor/frontend/App.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_entry,node_screen toneBlue
class node_expo toneIndigo
```

## Components

### Mobile app

- [App entry](https://github.com/hasita-k/kapitbahay-nearest-neighbor/blob/main/friendly-neighbor/frontend/index.ts): `friendly-neighbor/frontend/index.ts`
- [Placeholder screen](https://github.com/hasita-k/kapitbahay-nearest-neighbor/blob/main/friendly-neighbor/frontend/App.tsx): `friendly-neighbor/frontend/App.tsx`

### Other components

- **Expo runtime**

## Connections

- Expo runtime → App entry: loads entry
- App entry → Placeholder screen: registers app
