GithubHelp home page GithubHelp logo

expense-tracker's Introduction

Expense-tracker

Given a csv with the last summary of a bank account, it organises this expenses in categories (bills, shopping, eating out โ€ฆ) and then it will be saved into an Expense database.
After that, these data will be represented in a dashboard

Services:

  • Extraction: Load en memory a csv file from a bank account
  • Transformation: Normalized csv data
  • Categorize: Set categories to each expense (In progress)
  • Load: Load data into a database
  • Report: Show the information in a dashboard (In progress)

Installation:

  1. Install golang

  2. Dependencies:

    make install

Configuration:

  1. Define configuration file:
#expense-tracker/config
    user_db: "your_db"
    pass_db: "your_db_password"
    database: "your_db"
    file_path: "path_your_bank_statement"
  1. Link your description keyword with a category in expense-tracker/config/categories.yaml:

You have to link some relevant word from your bank statements with one category. For example if in your bank statement in the description field you have 'Tfl.gov.uk/cp' you could categorise 'tfl' as transport.

tfl: transport
my groceries shop: groceries
my favourite restaurant: eating out
atm machine: cash
thames water: bills

Run tests:

    make install

Run app:

    make all
This project is still in progress

Todo:

  • Transformer logic is coupled to a specific csv file. Make it generic
  • Parser logic is coupled to a specific data input. Make it generic
  • Improve error handler
  • Improve performance
  • Refactor main

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.