How pedrosarni/uaibank works
UAIBANK is a terminal banking application in C. Its main loop presents the menu and dispatches account creation, lookup, transfer, removal, and save-on-exit operations. Account lookup can lead to password recovery by verification code and email. Transfers validate the accounts, balance, and password before recording the transaction. The README documents CSV persistence and email recovery; source excerpts show user CSV saving and the email sender, but omit parts of the C transfer and recovery implementations, so uncertain links are dashed.
Main entry points: UAIBANK.c Bank menu · funcões.c Find and authenticate · enviar_email.py Email sender · Usuarios.csv User CSV
Components 13
Banking application
- Bank menu
src/UAIBANK.c
Account operations
- Register user
src/funcões.c - Register multiple
src/funcões.c - Find and authenticate
src/funcões.c - Recover password
src/funcões.c - Remove account
src/funcões.c
Transfers
- Validate transfer
src/funcões.c - Record transfer
src/funcões.c
Persistence and email
- User CSV
data/Usuarios.csv - Transfer CSV
data/Transferências.csv - Email sender
scripts/enviar_email.py
Other components
- Bank user
- Gmail SMTP
Connections 12
- Bank user → Bank menu: uses
src/UAIBANK.c - Bank menu → Register user: dispatches
src/UAIBANK.c - Bank menu → Register multiple: dispatches
src/UAIBANK.c - Bank menu → Find and authenticate: dispatches
src/UAIBANK.c - Bank menu → Validate transfer: dispatches
src/UAIBANK.c - Bank menu → Remove account: dispatches
src/UAIBANK.c - Bank menu → User CSV: saves on exit
- Find and authenticate → Recover password: offers recovery
src/funcões.c - Recover password → Email sender: requests code email
- Email sender → Gmail SMTP: sends via
scripts/enviar_email.py - Validate transfer → Record transfer: records transaction
src/funcões.c - Record transfer → Transfer CSV: writes transaction