# rianpramudya/website-manajemen-keuangan architecture

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

- Interactive diagram: https://gitdiagram.com/rianpramudya/website-manajemen-keuangan
- Repository: https://github.com/rianpramudya/website-manajemen-keuangan

## Overview

Dompet Rantau is a Laravel personal-finance app for people living away from home. Users register or sign in, then record income, expenses, transfers, and bill payments; the app presents balances, category pockets, transaction history, and date-filtered reports with PDF export. Profile management and email verification support the account lifecycle. The graph follows documented routes and sampled controller behavior; unsampled views and other auth endpoints are included as product capabilities, but their internal interactions are not inferred.

Main entry points: [`app/Models/Transaction.php`](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Models/Transaction.php) (Transactions), [`app/Http/Controllers/FinanceController.php`](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/FinanceController.php) (Finance operations), [`app/Http/Controllers/ReportController.php`](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/ReportController.php) (Report generation), [`routes/web.php`](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/routes/web.php) (Web routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_accounts["Accounts"]
  node_web_routes["Web routes<br/>[web.php]"]
  node_auth_routes["Auth routes<br/>[auth.php]"]
  node_auth_sessions["Session login"]
  node_registration["Registration"]
  node_email_verification["Email verification"]
  node_profile["Profile management"]
  node_profile_request["Profile validation"]
  node_user_model["User account<br/>[User.php]"]
  node_app_layout["Application layout<br/>[app.blade.php]"]
end

subgraph group_finance["Money tracking"]
  node_finance["Finance operations"]
  node_dashboard["Dashboard"]
  node_transaction_history["Transaction history<br/>[history.blade.php]"]
  node_category_views["Category views<br/>[index.blade.php]"]
  node_category_model["Categories<br/>[Category.php]"]
  node_transaction_model["Transactions<br/>[Transaction.php]"]
end

subgraph group_bills["Bills"]
  node_bill_controller["Bill management<br/>[BillController.php]"]
  node_bill_model["Bills<br/>[Bill.php]"]
  node_bill_view["Bill screen<br/>[index.blade.php]"]
end

subgraph group_insights["Reports"]
  node_report_controller["Report generation"]
  node_report_views["Report screens<br/>[index.blade.php]"]
  node_pdf_view["PDF report<br/>[pdf.blade.php]"]
end

node_user(("User"))

node_user -->|"uses"| node_web_routes
node_user -->|"authenticates"| node_auth_routes
node_web_routes -->|"routes requests"| node_finance
node_web_routes -->|"routes requests"| node_bill_controller
node_web_routes -->|"routes requests"| node_report_controller
node_web_routes -->|"routes requests"| node_profile
node_auth_routes -->|"routes login"| node_auth_sessions
node_auth_routes -->|"routes signup"| node_registration
node_auth_routes -->|"routes verification"| node_email_verification
node_registration -->|"creates account"| node_user_model
node_profile -->|"validates input"| node_profile_request
node_profile_request -->|"validates against"| node_user_model
node_finance -->|"reads and writes"| node_category_model
node_finance -->|"reads and writes"| node_transaction_model
node_finance -->|"renders"| node_dashboard
node_finance -->|"renders"| node_transaction_history
node_finance -->|"renders"| node_category_views
node_category_model -->|"has transactions"| node_transaction_model
node_bill_controller -->|"reads and writes"| node_bill_model
node_bill_controller -->|"selects funding"| node_category_model
node_bill_controller -->|"records payments"| node_transaction_model
node_bill_controller -->|"renders"| node_bill_view
node_report_controller -->|"queries activity"| node_transaction_model
node_report_controller -->|"groups expenses"| node_category_model
node_report_controller -->|"estimates bills"| node_bill_model
node_report_controller -->|"renders"| node_report_views
node_report_controller -->|"loads PDF view"| node_pdf_view
node_bill_model -->|"has transactions"| node_transaction_model
node_transaction_model -->|"belongs to"| node_category_model
node_transaction_model -->|"belongs to"| node_bill_model

click node_web_routes "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/routes/web.php"
click node_auth_routes "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/routes/auth.php"
click node_auth_sessions "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php"
click node_registration "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php"
click node_email_verification "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/Auth/VerifyEmailController.php"
click node_profile "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/ProfileController.php"
click node_profile_request "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Requests/ProfileUpdateRequest.php"
click node_user_model "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Models/User.php"
click node_finance "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/FinanceController.php"
click node_dashboard "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/dashboard.blade.php"
click node_transaction_history "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/transactions/history.blade.php"
click node_category_views "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/categories/index.blade.php"
click node_category_model "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Models/Category.php"
click node_transaction_model "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Models/Transaction.php"
click node_bill_controller "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/BillController.php"
click node_bill_model "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Models/Bill.php"
click node_bill_view "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/bills/index.blade.php"
click node_report_controller "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/ReportController.php"
click node_report_views "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/reports/index.blade.php"
click node_pdf_view "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/reports/pdf.blade.php"
click node_app_layout "https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/layouts/app.blade.php"

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_web_routes,node_auth_routes,node_auth_sessions,node_registration,node_email_verification,node_profile,node_profile_request,node_user_model,node_app_layout,node_user toneBlue
class node_finance,node_dashboard,node_transaction_history,node_category_views,node_category_model,node_transaction_model toneAmber
class node_bill_controller,node_bill_model,node_bill_view toneMint
class node_report_controller,node_report_views,node_pdf_view toneRose
```

## Components

### Accounts

- [Web routes](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/routes/web.php): `routes/web.php`
- [Auth routes](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/routes/auth.php): `routes/auth.php`
- [Session login](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php): `app/Http/Controllers/Auth/AuthenticatedSessionController.php`
- [Registration](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php): `app/Http/Controllers/Auth/RegisteredUserController.php`
- [Email verification](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/Auth/VerifyEmailController.php): `app/Http/Controllers/Auth/VerifyEmailController.php`
- [Profile management](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/ProfileController.php): `app/Http/Controllers/ProfileController.php`
- [Profile validation](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Requests/ProfileUpdateRequest.php): `app/Http/Requests/ProfileUpdateRequest.php`
- [User account](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Models/User.php): `app/Models/User.php`
- [Application layout](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/layouts/app.blade.php): `resources/views/layouts/app.blade.php`

### Money tracking

- [Finance operations](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/FinanceController.php): `app/Http/Controllers/FinanceController.php`
- [Dashboard](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/dashboard.blade.php): `resources/views/dashboard.blade.php`
- [Transaction history](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/transactions/history.blade.php): `resources/views/transactions/history.blade.php`
- [Category views](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/categories/index.blade.php): `resources/views/categories/index.blade.php`
- [Categories](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Models/Category.php): `app/Models/Category.php`
- [Transactions](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Models/Transaction.php): `app/Models/Transaction.php`

### Bills

- [Bill management](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/BillController.php): `app/Http/Controllers/BillController.php`
- [Bills](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Models/Bill.php): `app/Models/Bill.php`
- [Bill screen](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/bills/index.blade.php): `resources/views/bills/index.blade.php`

### Reports

- [Report generation](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/app/Http/Controllers/ReportController.php): `app/Http/Controllers/ReportController.php`
- [Report screens](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/reports/index.blade.php): `resources/views/reports/index.blade.php`
- [PDF report](https://github.com/rianpramudya/website-manajemen-keuangan/blob/main/resources/views/reports/pdf.blade.php): `resources/views/reports/pdf.blade.php`

### Other components

- **User**

## Connections

- User → Web routes: uses (evidence: `routes/web.php`)
- User → Auth routes: authenticates (evidence: `routes/auth.php`)
- Web routes → Finance operations: routes requests (evidence: `routes/web.php`)
- Web routes → Bill management: routes requests (evidence: `routes/web.php`)
- Web routes → Report generation: routes requests (evidence: `routes/web.php`)
- Web routes → Profile management: routes requests (evidence: `routes/web.php`)
- Auth routes → Session login: routes login (evidence: `routes/auth.php`)
- Auth routes → Registration: routes signup (evidence: `routes/auth.php`)
- Auth routes → Email verification: routes verification (evidence: `routes/auth.php`)
- Registration → User account: creates account (evidence: `app/Http/Controllers/Auth/RegisteredUserController.php`)
- Profile management → Profile validation: validates input (evidence: `app/Http/Controllers/ProfileController.php`)
- Profile validation → User account: validates against (evidence: `app/Http/Requests/ProfileUpdateRequest.php`)
- Finance operations → Categories: reads and writes (evidence: `app/Http/Controllers/FinanceController.php`)
- Finance operations → Transactions: reads and writes (evidence: `app/Http/Controllers/FinanceController.php`)
- Finance operations → Dashboard: renders (evidence: `app/Http/Controllers/FinanceController.php`)
- Finance operations → Transaction history: renders (evidence: `app/Http/Controllers/FinanceController.php`)
- Finance operations → Category views: renders (evidence: `app/Http/Controllers/FinanceController.php`)
- Categories → Transactions: has transactions (evidence: `app/Models/Category.php`)
- Bill management → Bills: reads and writes (evidence: `app/Http/Controllers/BillController.php`)
- Bill management → Categories: selects funding (evidence: `app/Http/Controllers/BillController.php`)
- Bill management → Transactions: records payments (evidence: `app/Http/Controllers/BillController.php`)
- Bill management → Bill screen: renders (evidence: `app/Http/Controllers/BillController.php`)
- Report generation → Transactions: queries activity (evidence: `app/Http/Controllers/ReportController.php`)
- Report generation → Categories: groups expenses (evidence: `app/Http/Controllers/ReportController.php`)
- Report generation → Bills: estimates bills (evidence: `app/Http/Controllers/ReportController.php`)
- Report generation → Report screens: renders (evidence: `app/Http/Controllers/ReportController.php`)
- Report generation → PDF report: loads PDF view (evidence: `app/Http/Controllers/ReportController.php`)
- Bills → Transactions: has transactions (evidence: `app/Models/Bill.php`)
- Transactions → Categories: belongs to (evidence: `app/Models/Transaction.php`)
- Transactions → Bills: belongs to (evidence: `app/Models/Transaction.php`)
