The problem

Tracking daily spending in notes or spreadsheets is tedious, and it is hard to see where the money goes or whether you are on budget.

The solution

A Django app that records income and expenses, tracks budgets and goals, produces reports and gives AI-generated insights, with secure login and a REST API for other clients.

How it works

Architecture & flow

  1. 1

    accounts app: authentication, profile, sessions, 2FA and exports

  2. 2

    core app: expenses, income, budgets, goals, reports and notifications

  3. 3

    api app: Django REST Framework serializers and views with SimpleJWT

  4. 4

    Django templates with Chart.js for the dashboard; django-apscheduler for recurring entries

  5. 5

    Deployed on Render with Gunicorn and WhiteNoise; SQLite in development, PostgreSQL in production

Problems I hit

Challenges and how I solved them

Challenge 1

Each user's financial data must stay private.

How I fixed it

Used session-based access control and scoped every query to the logged-in user.

Challenge 2

Recurring expenses had to be added automatically.

How I fixed it

Added a scheduled job with django-apscheduler and a process_recurring management command.

Challenge 3

Summaries needed totals per category and per month.

How I fixed it

Used database aggregation queries instead of summing in Python.

Results

  • Live on Render, with each user's data kept private behind login
  • REST API documented with Swagger/OpenAPI
  • Exports to CSV, JSON and PDF

What I learned

  • Structuring a larger Django project into apps
  • Authentication, OAuth and 2FA
  • Building and documenting REST APIs
  • Deploying Django to production

Project Overview

A full-stack Django personal finance application for tracking income, expenses, budgets and goals, built for the BVC Hackathon. It includes a server-rendered dashboard, secure authentication, REST APIs, export tools and AI-powered financial insights.

Key features

  • Dashboard with monthly income, expenses, balance, recent transactions and charts.
  • Expense and income tracking with categories, payment methods, tags, receipts and recurring entries.
  • Budgets with progress tracking and alert thresholds.
  • Financial goals with progress and milestone notifications.
  • Reports with category breakdowns and exports to CSV, JSON and PDF.
  • AI insights powered by Google Gemini.
  • Email login, Google OAuth, password reset and TOTP two-factor authentication.
  • REST API with JWT authentication and Swagger documentation.

What's next

  • Add bank statement import
  • Add a mobile-friendly PWA
Related

More web application projects