How rokkamajay/banking-system works
This is a tiny, single-file banking example rather than a layered banking application. A hard-coded user creates an in-memory BankAccount, exercises deposits and withdrawals, then prints the balance and transaction history. The account object itself owns balance and transaction state, validates operations, and reports errors and results through console output. No persistent store, external service, or separate application layer is shown; the map reflects only the excerpted file.
Main entry points: BankAccount.py Example operations
Components 8
Account logic
- Bank account
BankAccount.py - Deposit funds
BankAccount.py - Withdraw funds
BankAccount.py - Balance query
BankAccount.py - Transaction history
BankAccount.py
Example run
- Example operations
BankAccount.py
Other components
- Hard-coded owner
- Console output
Connections 8
- Example operations → Bank account: creates
BankAccount.py - Example operations → Deposit funds: calls
BankAccount.py - Example operations → Withdraw funds: calls
BankAccount.py - Example operations → Balance query: calls
BankAccount.py - Example operations → Transaction history: calls
BankAccount.py - Deposit funds → Console output: prints result
BankAccount.py - Withdraw funds → Console output: prints result
BankAccount.py - Transaction history → Console output: prints entries
BankAccount.py