An application for tracking shared expenses and debts, with user accounts and an Iranian payment-gateway integration.
- 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.
Django 3.1 · django-allauth · django-crispy-forms · azbankgateways · Pillow · SQLite
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 runserverSECRET_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())"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.