Skip to content

Camden-Kirkpatrick/Financial_Activity_Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Finance Tracker

A simple finance tracker application written in Java that allows users to manage financial categories, track transactions, and undo recent transactions. The application provides a menu-driven interface for ease of use.


Features

  • Add and manage financial categories.
  • Add transactions to specific categories.
  • View transactions sorted by date.
  • Undo the last 10 transactions.
  • Basic input validation and menu-driven interface.

Project Structure

  • Category.java - Represents a financial category.
  • Transaction.java - Represents an individual financial transaction.
  • FinancialActivityManager.java - Manages financial categories and transactions.
  • Driver.java - Main entry point that runs the menu-based application.
  • Tests (tests folder) - Contains JUnit tests for core functionality.

Installation & Setup

  1. Ensure you have Java 17+ installed.
  2. Clone this repository or download the files:
    git clone https://github.com/your-repo/finance-tracker.git
    cd finance-tracker
  3. Compile the project
    javac -d bin src/main/*.java
  4. Run the application
    java -cp bin main.Driver
    

Usage

  1. Run the application and select an option from the menu.
  2. Add categories before adding transactions.
  3. Use Undo to remove the last recorded transaction.
  4. View all transactions sorted by date.

Installing JUnit

You need JUnit 5 to run the tests. Download the latest version from:


Running Tests

The project includes JUnit 5 tests for core functionality.

  1. Ensure you have JUnit 5 installed.
  2. Compile the test files:
    javac -cp ".;bin;junit-platform-console-standalone-x.x.x.jar" -d bin src/tests/*.java
  3. Run the tests
    java -jar junit-platform-console-standalone-x.x.x.jar --class-path bin --scan-class-path
    

License

This project is provided as-is, without warranty or guarantee. You are free to modify or extend it for your needs.

Enjoy using the Financial Activity Manager!

About

A simple application that allows you to manage your finances

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages