// menu
OVERVIEW/PROJECTS/04_PERSONAL_EXPENSE_TRACKER
// SPEC_04

Expense Tracker

A full-stack web application for tracking, categorising, and visualising personal expenses and income — built with a Next.js frontend and a Flask REST API backend, with data stored in a lightweight CSV file.

~/personal-expense-tracker — 1280×800main*
Personal Expense Tracker screenshot
// TELEMETRY_AND_BENCHMARKSVERIFIED_DATA
METRIC_01
CSV
Zero-DB Storage
METRIC_02
Chart
Visual Breakdowns
METRIC_03
REST
API Architecture
METRIC_04
100%
Self-hosted

// 01_SYSTEM_ARCHITECTURE

What is the Expense Tracker?

Most expense trackers are either too simple or too bloated. This one sits in the sweet spot — a clean UI for day-to-day logging paired with just enough visualisation to actually understand your spending.

The backend is a Flask REST API that reads and writes to a CSV file, making it trivially easy to self-host, inspect raw data, or export for further analysis in Excel or Python.

The frontend renders interactive charts for monthly trends, category breakdowns, and income vs. expense comparisons — all updated in real time as you add or edit entries.

// SYSTEM_SPECIFICATIONS

ARCHITECTUREFull-stack Web App
ROLESolo Developer
STATUSIn Development
CODEBASEPublic Repository

// CORE_TECHNOLOGIES

Next.js
TypeScript
Tailwind CSS
Flask
Python
Recharts
CSV

// 02_ENGINEERED_CAPABILITIES

Functional Modules & Core Features

MOD_01

Add Transactions

Quickly log expenses or income with a category, amount, date, and optional note.

MOD_02

Categories

Organise spending into custom categories — food, rent, entertainment, and more.

MOD_03

Pie Charts

Category breakdown charts show exactly where your money goes each month.

MOD_04

Trend Lines

Monthly income vs. expense line charts help you spot saving patterns over time.

MOD_05

CSV Export

Download your full transaction history as a CSV — ready for Excel or Python analysis.

MOD_06

REST API

Flask backend exposes clean endpoints — easy to extend or hook into other tools.

// 03_PROCESSING_PIPELINE

End-to-End Execution Flow

01
STAGE_01

Log

Add an expense or income entry with category and amount.

02
STAGE_02

Organise

Entries are saved to CSV and grouped by category/month.

03
STAGE_03

Visualise

Charts update instantly to reflect your current data.

04
STAGE_04

Export

Download your data anytime for external analysis.

// COLLABORATION_AND_CODE

Want to see the code?

The full source — Flask API and Next.js frontend — is on GitHub. Fork it, run it locally, and make it yours.