Skip to content

srinupitta/expense-tracker-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expense Tracker Application

Overview

Expense Tracker is a simple Java console application designed to help users manage their expenses efficiently. The application allows users to add, delete, modify, and view expenses. Additionally, users can manage expense categories and generate reports.

Features

1. Add Expense

  • Users can add new expenses by providing details such as expense ID, amount, category, description, and date.
  • The application stores the expenses in a file for future reference.

2. Delete Expense

  • Users can delete a specific expense by entering the expense ID.
  • The updated expense list is then stored in the file.

3. Manage Categories

  • Users can add, view, and delete expense categories.
  • Categories are stored in a separate file for easy management.

4. View Expense

  • Users can view a formatted list of all recorded expenses.
  • The application displays the expense ID, amount, category, description, and date.

5. Modify Expense

  • Users can modify existing expenses by providing the expense ID.
  • The application prompts users to enter new details for the selected expense.

6. Generate Report (Category Wise)

  • Generates a detailed expense report based on categories.
  • Enter a category name to view expenses associated with that category.
  • Date wise report generation is currently under development and will be added in future updates.

Getting Started

  1. Clone the repository.
  2. Compile and run the main.java file in a Java development environment.
  3. Follow the on-screen instructions to interact with the Expense Tracker.

Files and Storage

  • Expense Data: Expenses are stored in the expense.txt file.
  • Category Data: Expense categories are stored in the categories.txt file.

Sample Data

  • Expense Data: Sample data for expense is stored in the expense.txt file.
  • Category Data: Sample data for categories is stored in the categories.txt file.
  • Feel free to use it.
  • Note: If you want to start with fresh files , simply delete the expense.txt and categories.txt files.

Contributing

Feel free to contribute to the project by submitting bug reports, feature requests, or pull requests. Your input is highly appreciated!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages