# nitesh680/nissh-bank architecture

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

- Interactive diagram: https://gitdiagram.com/nitesh680/nissh-bank
- Repository: https://github.com/nitesh680/nissh-bank

## Overview

Nissh Bank is a React online-banking frontend: users register or sign in, enter a dashboard, and navigate to account, transaction, and banking-feature screens. The sampled code confirms direct REST calls for authentication, balances, transactions, and withdrawals; other listed banking features are represented from the README and project structure, without assuming their backend behavior. The repository contains no backend implementation, so backend-to-MongoDB is documented product architecture, not a locally inspectable call path.

Main entry points: [`src/App.jsx`](https://github.com/nitesh680/nissh-bank/blob/main/src/App.jsx) (App navigation), [`src/pages/Dashboard.jsx`](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Dashboard.jsx) (Dashboard), [`src/pages/Login.jsx`](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Login.jsx) (Sign in), [`src/pages/Register.jsx`](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Register.jsx) (Registration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and navigation"]
  node_app["App navigation<br/>[App.jsx]"]
  node_mount["React mount<br/>[main.jsx]"]
  node_login["Sign in<br/>[Login.jsx]"]
  node_register["Registration<br/>[Register.jsx]"]
end

subgraph group_overview["Account overview"]
  node_dashboard["Dashboard<br/>[Dashboard.jsx]"]
  node_accounts["Account details<br/>[Accounts.jsx]"]
  node_transactions["Transactions<br/>[Transactions.jsx]"]
  node_notifications["Notifications<br/>[Notifications.jsx]"]
end

subgraph group_operations["Banking operations"]
  node_deposit["Deposit<br/>[Deposit.jsx]"]
  node_withdraw["Withdrawal<br/>[Withdraw.jsx]"]
  node_transfer["Transfer<br/>[Transfer.jsx]"]
  node_cards["Card controls<br/>[Cards.jsx]"]
  node_loans["Loan services<br/>[Loans.jsx]"]
end

subgraph group_profile["Customer services"]
  node_settings["Settings<br/>[Settings.jsx]"]
end

node_customer(("Bank customer"))
node_backend{{"Spring Boot API"}}
node_mongo[("MongoDB")]

node_mount -->|"renders"| node_app
node_customer -.->|"uses"| node_app
node_app -->|"shows"| node_login
node_app -->|"shows"| node_register
node_app -->|"shows"| node_dashboard
node_app -->|"shows"| node_accounts
node_app -->|"shows"| node_transactions
node_app -->|"shows"| node_deposit
node_app -->|"shows"| node_withdraw
node_app -->|"shows"| node_transfer
node_app -->|"shows"| node_cards
node_app -->|"shows"| node_loans
node_app -->|"shows"| node_settings
node_dashboard -->|"renders"| node_notifications
node_login -->|"posts credentials"| node_backend
node_register -->|"posts registration"| node_backend
node_dashboard -->|"requests balance"| node_backend
node_accounts -->|"requests balance"| node_backend
node_transactions -->|"requests transactions"| node_backend
node_withdraw -->|"posts withdrawal"| node_backend
node_deposit -.->|"uses banking API"| node_backend
node_transfer -.->|"uses banking API"| node_backend
node_cards -.->|"uses card services"| node_backend
node_loans -.->|"uses loan services"| node_backend
node_backend -.->|"uses database"| node_mongo

click node_app "https://github.com/nitesh680/nissh-bank/blob/main/src/App.jsx"
click node_mount "https://github.com/nitesh680/nissh-bank/blob/main/src/main.jsx"
click node_login "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Login.jsx"
click node_register "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Register.jsx"
click node_dashboard "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Dashboard.jsx"
click node_accounts "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Accounts.jsx"
click node_transactions "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Transactions.jsx"
click node_notifications "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Notifications.jsx"
click node_deposit "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Deposit.jsx"
click node_withdraw "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Withdraw.jsx"
click node_transfer "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Transfer.jsx"
click node_cards "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Cards.jsx"
click node_loans "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Loans.jsx"
click node_settings "https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Settings.jsx"

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_app,node_mount,node_login,node_register toneBlue
class node_dashboard,node_accounts,node_transactions,node_notifications,node_mongo toneAmber
class node_deposit,node_withdraw,node_transfer,node_cards,node_loans,node_backend toneMint
class node_settings toneRose
class node_customer toneIndigo
```

## Components

### Entry and navigation

- [App navigation](https://github.com/nitesh680/nissh-bank/blob/main/src/App.jsx): `src/App.jsx`
- [React mount](https://github.com/nitesh680/nissh-bank/blob/main/src/main.jsx): `src/main.jsx`
- [Sign in](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Login.jsx): `src/pages/Login.jsx`
- [Registration](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Register.jsx): `src/pages/Register.jsx`

### Account overview

- [Dashboard](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Dashboard.jsx): `src/pages/Dashboard.jsx`
- [Account details](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Accounts.jsx): `src/pages/Accounts.jsx`
- [Transactions](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Transactions.jsx): `src/pages/Transactions.jsx`
- [Notifications](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Notifications.jsx): `src/pages/Notifications.jsx`

### Banking operations

- [Deposit](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Deposit.jsx): `src/pages/Deposit.jsx`
- [Withdrawal](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Withdraw.jsx): `src/pages/Withdraw.jsx`
- [Transfer](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Transfer.jsx): `src/pages/Transfer.jsx`
- [Card controls](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Cards.jsx): `src/pages/Cards.jsx`
- [Loan services](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Loans.jsx): `src/pages/Loans.jsx`

### Customer services

- [Settings](https://github.com/nitesh680/nissh-bank/blob/main/src/pages/Settings.jsx): `src/pages/Settings.jsx`

### Other components

- **Bank customer**
- **Spring Boot API**
- **MongoDB**

## Connections

- React mount → App navigation: renders (evidence: `src/main.jsx`)
- Bank customer → App navigation: uses
- App navigation → Sign in: shows (evidence: `src/App.jsx`)
- App navigation → Registration: shows (evidence: `src/App.jsx`)
- App navigation → Dashboard: shows (evidence: `src/App.jsx`)
- App navigation → Account details: shows (evidence: `src/App.jsx`)
- App navigation → Transactions: shows (evidence: `src/App.jsx`)
- App navigation → Deposit: shows (evidence: `src/App.jsx`)
- App navigation → Withdrawal: shows (evidence: `src/App.jsx`)
- App navigation → Transfer: shows (evidence: `src/App.jsx`)
- App navigation → Card controls: shows (evidence: `src/App.jsx`)
- App navigation → Loan services: shows (evidence: `src/App.jsx`)
- App navigation → Settings: shows (evidence: `src/App.jsx`)
- Dashboard → Notifications: renders (evidence: `src/pages/Dashboard.jsx`)
- Sign in → Spring Boot API: posts credentials (evidence: `src/pages/Login.jsx`)
- Registration → Spring Boot API: posts registration (evidence: `src/pages/Register.jsx`)
- Dashboard → Spring Boot API: requests balance (evidence: `src/pages/Dashboard.jsx`)
- Account details → Spring Boot API: requests balance (evidence: `src/pages/Accounts.jsx`)
- Transactions → Spring Boot API: requests transactions (evidence: `src/pages/Transactions.jsx`)
- Withdrawal → Spring Boot API: posts withdrawal (evidence: `src/pages/Withdraw.jsx`)
- Deposit → Spring Boot API: uses banking API
- Transfer → Spring Boot API: uses banking API
- Card controls → Spring Boot API: uses card services
- Loan services → Spring Boot API: uses loan services
- Spring Boot API → MongoDB: uses database (evidence: `README.md`)
