Skip to content
hadiongitPublic

About

Personal financial management

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

597

An application for tracking shared expenses and debts, with user accounts and an Iranian payment-gateway integration.

What it does

  • Expenses — create, edit and delete expenses, mark them paid or unpaid, and view the detail of each one.
  • Debts — see who owes what, per person, with a breakdown page.
  • Accounts — registration and login through django-allauth, a custom user model with a profile image, and an account page you can edit and search.
  • Payments — card-to-card style settlement through azbankgateways, currently wired to the IDPay sandbox.

Stack

Django 3.1 · django-allauth · django-crispy-forms · azbankgateways · Pillow · SQLite

Running it locally

python -m venv venv && source venv/bin/activate
pip install -r requirements.txt

cp .env.example .env          # then put a real key in it
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

SECRET_KEY and DEBUG are read from the environment (via .env), so no secrets live in the source. To generate a key:

python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"

Status

A personal project, built in 2022. The payment gateway is configured against the sandbox — put a real merchant code in AZ_IRANIAN_BANK_GATEWAYS before pointing it at anything live. See TODO.md for what was planned next.

About

Personal financial management

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages