# arup1302/bahikhata architecture

> Architecture diagram of the GitHub repository arup1302/bahikhata, 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/arup1302/bahikhata
- Repository: https://github.com/arup1302/bahikhata

## Overview

This repository is a starter React Native app, not yet a khata or bookkeeping product: its visible workflow is launching the app and rendering the framework’s sample screen. Android and iOS bootstrap React Native separately; JavaScript registers and renders the app. The sampled source does not show any domain features or persistent state.

Main entry points: [`App.tsx`](https://github.com/arup1302/bahikhata/blob/main/App.tsx) (App shell), [`index.js`](https://github.com/arup1302/bahikhata/blob/main/index.js) (Component registry), [`android/app/src/main/java/com/wahikhata/MainActivity.kt`](https://github.com/arup1302/bahikhata/blob/main/android/app/src/main/java/com/wahikhata/MainActivity.kt) (Android activity), [`ios/wahiKHata/AppDelegate.swift`](https://github.com/arup1302/bahikhata/blob/main/ios/wahiKHata/AppDelegate.swift) (iOS app delegate)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("App user"))
node_android["Android activity<br/>[MainActivity.kt]"]
node_ios["iOS app delegate<br/>[AppDelegate.swift]"]
node_registry["Component registry<br/>[index.js]"]
node_app["App shell<br/>[App.tsx]"]
node_sample["Sample screen"]
node_safearea["Safe area context<br/>[App.tsx]"]

node_user -->|"opens app"| node_android
node_user -->|"opens app"| node_ios
node_android -->|"launches component"| node_registry
node_ios -->|"launches component"| node_registry
node_registry -->|"registers"| node_app
node_app -->|"provides insets"| node_safearea
node_app -->|"renders"| node_sample

click node_android "https://github.com/arup1302/bahikhata/blob/main/android/app/src/main/java/com/wahikhata/MainActivity.kt"
click node_ios "https://github.com/arup1302/bahikhata/blob/main/ios/wahiKHata/AppDelegate.swift"
click node_registry "https://github.com/arup1302/bahikhata/blob/main/index.js"
click node_app "https://github.com/arup1302/bahikhata/blob/main/App.tsx"
click node_safearea "https://github.com/arup1302/bahikhata/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_user,node_sample toneBlue
class node_android,node_ios,node_registry,node_app,node_safearea toneTeal
```

## Components

### Other components

- **App user**
- [Android activity](https://github.com/arup1302/bahikhata/blob/main/android/app/src/main/java/com/wahikhata/MainActivity.kt): `android/app/src/main/java/com/wahikhata/MainActivity.kt`
- [iOS app delegate](https://github.com/arup1302/bahikhata/blob/main/ios/wahiKHata/AppDelegate.swift): `ios/wahiKHata/AppDelegate.swift`
- [Component registry](https://github.com/arup1302/bahikhata/blob/main/index.js): `index.js`
- [App shell](https://github.com/arup1302/bahikhata/blob/main/App.tsx): `App.tsx`
- **Sample screen**
- [Safe area context](https://github.com/arup1302/bahikhata/blob/main/App.tsx): `App.tsx`

## Connections

- App user → Android activity: opens app
- App user → iOS app delegate: opens app
- Android activity → Component registry: launches component
- iOS app delegate → Component registry: launches component
- Component registry → App shell: registers
- App shell → Safe area context: provides insets
- App shell → Sample screen: renders
