How hamzaalwajeeh/bank-system works
Project type and purpose
• This is a monolithic, console-based C++ application (“Bank System”) whose sole purpose is to manage clients, users, and transfers via a text-file–backed data store.
• It is not a web or distributed system but a single executable with a command-line interface and flat file persistence.
File structure
• Top-level items:
• Bank_2.cpp – the sole C++ source file containing all modules (UI menus, data models, business logic, file I/O).
• Bank_2.exe – compiled binary.
• Client.txt, Users.txt, Transfers.txt – plain-text data files acting as the “database.”
• README.md – project overview and instructions.
• .vscode – IDE settings folder (not relevant to runtime architecture).
• No subdirectories or separate modules; everything lives in one file, suggesting a simple layered approach within that file.
README for additional insights
• Confirms three main domains: Client Management, User Management (with permissions), and Money Transfers.
• Data is read/written per operation to the three text files.
• Interactive console menus drive the business logic.
Elements
• CLI / Presentation
• File I/O layer
• Client.txt, Users.txt, Transfers.txt storage
• User → CLI
• CLI → Business Logic services
• Services → Data Access
• Data Access → corresponding .txt file
• Responses flowing back up.
• UI layer = blue
• Business logic = green
• Data access = orange
• Storage = gray
Putting it all together
• Optionally, note that everything compiles into one monolithic .exe for deployment.