# n-ananthakrishnan/resqlink-app architecture

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

- Interactive diagram: https://gitdiagram.com/n-ananthakrishnan/resqlink-app
- Repository: https://github.com/n-ananthakrishnan/resqlink-app

## Overview

This repository is a React Native starter app, not a domain-specific product: its workflow is native launch, JavaScript component registration, then rendering a sample screen within safe-area handling. Android and iOS bootstrap the React Native runtime; the iOS entry explicitly points to `index`. The README documents running on either platform but describes no additional product capabilities. The available excerpts do not show Android-to-JavaScript entry wiring, so that relationship is omitted.

Main entry points: [`index.js`](https://github.com/n-ananthakrishnan/resqlink-app/blob/main/index.js) (App registry), [`App.tsx`](https://github.com/n-ananthakrishnan/resqlink-app/blob/main/App.tsx) (Root app), [`ios/OffResQMobile/AppDelegate.swift`](https://github.com/n-ananthakrishnan/resqlink-app/blob/main/ios/OffResQMobile/AppDelegate.swift) (iOS delegate)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_native["Native launch"]
  node_android["Android activity<br/>[MainActivity.kt]"]
  node_ios["iOS delegate<br/>[AppDelegate.swift]"]
end

subgraph group_javascript["JavaScript app"]
  node_registry["App registry<br/>[index.js]"]
  node_app["Root app<br/>[App.tsx]"]
  node_sample["Sample screen"]
end

node_ios -->|"loads entry"| node_registry
node_registry -->|"registers"| node_app
node_app -->|"renders"| node_sample

click node_android "https://github.com/n-ananthakrishnan/resqlink-app/blob/main/android/app/src/main/java/com/offresqmobile/MainActivity.kt"
click node_ios "https://github.com/n-ananthakrishnan/resqlink-app/blob/main/ios/OffResQMobile/AppDelegate.swift"
click node_registry "https://github.com/n-ananthakrishnan/resqlink-app/blob/main/index.js"
click node_app "https://github.com/n-ananthakrishnan/resqlink-app/blob/main/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_android,node_ios toneBlue
class node_registry,node_app,node_sample toneAmber
```

## Components

### Native launch

- [Android activity](https://github.com/n-ananthakrishnan/resqlink-app/blob/main/android/app/src/main/java/com/offresqmobile/MainActivity.kt): `android/app/src/main/java/com/offresqmobile/MainActivity.kt`
- [iOS delegate](https://github.com/n-ananthakrishnan/resqlink-app/blob/main/ios/OffResQMobile/AppDelegate.swift): `ios/OffResQMobile/AppDelegate.swift`

### JavaScript app

- [App registry](https://github.com/n-ananthakrishnan/resqlink-app/blob/main/index.js): `index.js`
- [Root app](https://github.com/n-ananthakrishnan/resqlink-app/blob/main/App.tsx): `App.tsx`
- **Sample screen**

## Connections

- iOS delegate → App registry: loads entry (evidence: `ios/OffResQMobile/AppDelegate.swift`)
- App registry → Root app: registers (evidence: `index.js`)
- Root app → Sample screen: renders (evidence: `App.tsx`)
