How 0xkareemai/oobs-object_oriented_bank_system works
Project Type and Purpose
• This is a C++ CLI (Command-Line Interface) Bank Management System (OOBS) that simulates two applications: a Bank Application and an ATM Application.
• It implements a layered architecture (Presentation → Business → Data Access) to manage admins, clients, currencies, and transactions, persisting data in CSV/TXT files.
File Structure
• Top-level elements:
• build/run.sh – build and run script
• src/1-Presentation – all CLI screens and menus (UI layer)
• src/2-Business – domain models and logic (service layer)
• src/3-Data Access – data handlers, file I/O, core banking abstraction
• src/DataBase – CSV/TXT data files (persistent storage)
• /libs – helper/util libraries (I/O, file, data manipulation, UI)
• test – unit tests for helper libraries
• Patterns:
• Layered (strict separation Presentation/Business/DataAccess)
• Utility modules for cross-cutting concerns in include/libs
• Configuration:
• run.sh orchestrates compilation and execution
• main.cpp is the entry point that initializes the layers and launches the CLI
README for Additional Insights
• Confirms C++ project, CLI interface, build via g++, run via Bash script.
• Mentions SDLC steps documented in doc/, but implementation follows a 3-layer design.
• Two “applications” share same core but differ in starting screens (Bank vs. ATM).