Skip to content

The Expense Tracker is a command-line application built with Node.js that helps you manage your personal finances. You can add, delete, and list expenses, set and edit monthly budgets, and export your expense data to a CSV file. This tool is designed to make tracking your expenses simple and efficient.

Notifications You must be signed in to change notification settings

NatBabi/Expense-Tracker-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Expense-Tracker-CLI

This is a simple expense tracker application that allows you to manage your expenses, set budgets, and export expenses to a CSV file.

Prerequisites

  • Node.js (v12 or higher)
  • npm (v6 or higher)

Installation

  1. Clone the repository:
    git clone <repository-url>
  2. Navigate to the project directory:
    cd Expense-Tracker
  3. Install the dependencies:
    npm install

Usage

Commands

  • 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

Project Roadmap

For more details on the project roadmap, visit Expense Tracker Roadmap.

License

This project is licensed under the MIT License.

About

The Expense Tracker is a command-line application built with Node.js that helps you manage your personal finances. You can add, delete, and list expenses, set and edit monthly budgets, and export your expense data to a CSV file. This tool is designed to make tracking your expenses simple and efficient.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published