Skip to content

Simple Database and Dashboards to store Ledger Records and get reports of Money Stash

Notifications You must be signed in to change notification settings

SA-Inc/Ledger-Book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ledger Book

Simple Database to store Ledger Records and get reports of Money Stash. All values are in common currency unit (EuroDollar).

The Database does not involve storing multiple Accounts and is not a personal finance Tracker (purchasing Goods, paying Bills, etc.)

The main Goal is tracking the savings Account

  • DB: SQLite or PostgreSQL
  • PostgREST (if need HTTP Interface for PostgreSQL)
  • Grafana

Table of Contents

Database Structure

Ledger Scheme

Account

  • id - auto inc Value
  • name - text Value
  • currency - text Value

Transaction

  • id - auto inc Value
  • account_id - link to Account Entity
  • date - ISO 8601 Date (YYYY-MM-DD), without Time
  • amount - only Integer (Why count Сents?)

Overview

The main Approach is quick get main Measurements and using in big Numbers in Grafana

Ledger Overview

  • Account Currency
  • Total Transactions
  • Last Transaction Type
  • Current Balance
  • Total Outcome
  • Total Income
  • Total Outcome Transactions
  • Total Income Transactions
  • Unique Transaction Dates
  • First Transaction Date
  • Last Transaction Date
  • Days of Last Transaction

Pivot Tables

Running Balance

Shows Running Balance (Running Total/Cumulative Sum/Prefix Sum) and Delta in Percents between current and previous Running Balances

Running Balance

Year Income Outcome

Running Balance

Year Month Income Outcome

Running Balance

About

Simple Database and Dashboards to store Ledger Records and get reports of Money Stash

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages