Skip to content

arunapandi/Expensetracker

Repository files navigation

Overview

This is a personal expense tracker web application built using Django. It allows users to log their expenses, categorize them, and provides automated expense categorization and future expense prediction features. This README.md file provides instructions for setting up and running the application on your local machine, as well as some additional information about its features and usage.

Features

  • Expense Logging: Easily log your daily expenses, including the date, description, amount, and category.

  • Automated Expense Categorization: The application uses machine learning algorithms to automatically categorize expenses based on their descriptions. This makes it easier to track and manage your spending.

  • Future Expense Prediction: The application provides predictions for future expenses based on your spending history. This can help you plan your budget more effectively.

  • User Authentication: Users can create accounts and log in to securely manage their expenses.

Setup

To run this application locally, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/arunapandi/expensetracker.git
  2. Create a virtual environment (optional but recommended):

    python -m venv venv
  3. Activate the virtual environment:

    • Windows:

      venv\Scripts\activate
    • macOS and Linux:

      source venv/bin/activate
  4. Install the required dependencies:

    pip install -r requirements.txt
  5. Apply database migrations:

    python manage.py migrate
  6. Create a superuser account to access the admin panel:

    python manage.py createsuperuser
  7. Start the development server:

    python manage.py runserver
  8. Open your web browser and go to http://localhost:8000 to access the application.

Usage

  1. Create a new account or log in using your superuser account.

  2. Start logging your expenses by clicking the "Add Expense" button.

  3. Fill in the expense details, including the date, description, amount, and category. You can also leave the category empty, and the application will attempt to automatically categorize it.

  4. View your expense history, categorized expenses, and future expense predictions on the dashboard.

  5. To access the admin panel, go to http://localhost:8000/admin/ and log in with your superuser credentials. From the admin panel, you can manage users, categories, and view the database.

Contributing

If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository on GitHub.

  2. Create a new branch for your feature or bug fix:

    git checkout -b feature-name
  3. Make your changes and commit them:

    git commit -m "Add new feature"
  4. Push your changes to your forked repository:

    git push origin feature-name
  5. Create a pull request on the original repository to propose your changes.

Acknowledgments

  • Thanks to the Django community for creating such a powerful web framework.

  • The automated expense categorization and prediction features are powered by machine learning models, which were trained using various open-source libraries and datasets.

Feel free to customize and enhance this expense tracker according to your needs. Happy budgeting!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published