How hayk364/banking-system-desktop works
Bank is a Qt desktop banking client backed by a local Node.js HTTP service. The main workflow restores a saved session or authenticates, collects wallet details after registration, then presents account information and supports transfers and transaction history. The C++ backend performs HTTP requests for these operations; QSettings retains session and account values. The server file is indexed as read, but its implementation details were not provided, so its internal stages and persistence are not expanded.
Main entry points: homewindow.cpp Account dashboard · mainwindow.cpp Login and registration · server.js Node HTTP service · main.cpp App startup
Components 14
Desktop client
- App startup
main.cpp - Login and registration
mainwindow.cpp - Wallet details form
createwallet.cpp - Account dashboard
homewindow.cpp - Transfer form
sendform.cpp - Transaction history view
history.cpp
Banking operations
- Authentication requests
backend.cpp - Wallet creation request
backend.cpp - Account data and balance
backend.cpp - Transfer request
backend.cpp - History retrieval
backend.cpp - Saved account settings
mainwindow.cpp
Local service
- Node HTTP service
NodeServer/server.js
Other components
- User
Connections 19
- User → App startup: launches
main.cpp - App startup → Login and registration: shows when signed out
main.cpp - App startup → Account dashboard: shows when signed in
main.cpp - Login and registration → Authentication requests: authenticates
mainwindow.cpp - Login and registration → Saved account settings: saves session
mainwindow.cpp - Login and registration → Wallet details form: opens after registration
mainwindow.cpp - Login and registration → Account dashboard: opens after login
mainwindow.cpp - Wallet details form → Wallet creation request: submits details
createwallet.cpp - Wallet details form → Account dashboard: opens on success
createwallet.cpp - Account dashboard → Account data and balance: loads and refreshes
homewindow.cpp - Account dashboard → Transfer form: opens
homewindow.cpp - Account dashboard → Transaction history view: opens
homewindow.cpp - Transfer form → Transfer request: submits transfer
sendform.cpp - Transaction history view → History retrieval: loads transactions
history.cpp - Authentication requests → Node HTTP service: HTTP requests
backend.cpp - Wallet creation request → Node HTTP service: HTTP request
backend.cpp - Account data and balance → Node HTTP service: HTTP requests
backend.cpp - Transfer request → Node HTTP service: HTTP request
backend.cpp - History retrieval → Node HTTP service: HTTP requests
backend.cpp