This repository contains a lightweight Expense Tracker Application built using Python and Flask. The project demonstrates core data processing concepts—managing real-time mathematical accumulation, persistent numerical ledgers, and input validation.
- Accumulator Logic: Implements robust mathematical state management to aggregate continuous transaction inputs.
- Decoupled Architecture: Clean separation of backend accumulation logic (
app.py) and UI rendering (templates/index.html). - Disk Persistence Layer: Saves all accumulated numerical data into a structured
expenses_data.jsonfile. - Safe Termination Protocol: Supports direct browser-triggered server shutdowns.
├── app.py # Core Backend Processing Layer
├── expenses_data.json # Permanent Disk Storage
└── templates/ # View Layer Directory
└── index.html # Web User Interface
To use the Expense Tracker application, you can follow these steps:
- Install the necessary dependencies by running the following command:
pip install flask- Clone the repository:
Bash
git clone <repository_url>
- Navigate to the project directory:
Bash
cd python-flask-expensetracker
- Run the application using Python:
Bash
python app.py