The Personal Finance Manager is a Java-based application that helps users track their personal transactions. The application provides functionalities to add income and expense entries, categorize transactions, and visualise data using charts.
- Add income and expense entries
- Categorize transactions
- Visualise data using charts
- Java Development Kit (JDK) 14 or later
- Maven
-
Clone the repository:
git clone https://github.com/your-username/personal-finance-manager.git cd personal-finance-manager
- Build the project using Maven:
mvn clean package
If you're on windows, you can simply run the executable file in the root directory. Otherwise:
-
Navigate to the target directory:
cd target
-
Run the application:
java -jar personal-finance-1.0-SNAPSHOT.jar
A mock csv file can be loaded ./src/mock
folder to see a demo of the application.
- Enter the transaction details in the provided fields.
- Click the "Submit" button to add the transaction to the list.
- Enter the transaction ID in the "Remove Transaction" section.
- Click the "Submit" button to remove the transaction from the list.
- Enter the initial balance in the "Enter Balance" field.
- Click the "Set balance" button to update the balance.
- Click the "Save" button to save the transaction data to a CSV file.
- Click the "Load" button to load transaction data from a CSV file.
To run the tests, use the following command:
mvn test