This is a simple expense tracker application that allows you to manage your expenses, set budgets, and export expenses to a CSV file.
- Node.js (v12 or higher)
- npm (v6 or higher)
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd Expense-Tracker - Install the dependencies:
npm install
-
Add a new expense:
node Expense-tracker.js add <description> <amount> [category]
Example:
node Expense-tracker.js add "Lunch" 15 "Food"
-
Delete an expense by ID:
node Expense-tracker.js delete --id <id>
Example:
node Expense-tracker.js delete --id 1
-
List all expenses or filter by category:
node Expense-tracker.js list [category]
Example:
node Expense-tracker.js list "Food" -
Show total expenses or filter by month:
node Expense-tracker.js summary [--month <monthIndex>]
Example:
node Expense-tracker.js summary --month 3
-
Set a budget for a specific month:
node Expense-tracker.js set-budget --month <monthIndex> --amount <amount>
Example:
node Expense-tracker.js set-budget --month 3 --amount 500
-
Edit the budget for a specific month:
node Expense-tracker.js edit-budget --month <monthIndex> --amount <amount>
Example:
node Expense-tracker.js edit-budget --month 3 --amount 600
-
Export all expenses to a CSV file:
node Expense-tracker.js export-csv
For more details on the project roadmap, visit Expense Tracker Roadmap.
This project is licensed under the MIT License.