This is a simple CLI app that simulates a bank. A user is able to create an account, log into the account, display their balance, deposit money and withdraw money.
The following components will have to be installed before running the application -
- Java (8+)
- Maven (3.8.1+)
To run this application, run the following command from the root of the repository, from the command line -
mvn compile exec:java -Dexec.mainClass="BankApp"Alternatively this app can also be imported into an IDE like IntelliJ and the BankApp class can be run via the IDE.
Use the numbers next the options and then press enter, to determine which workflow needs to be executed. The user can -
- Open an account.
- Log into an existing account.
- Once logged into an existing account, a user can deposit money.
- Once logged into an existing account, a user can withdraw money.
- The user can exit and end the session.