Skip to content

Abdullah-Aqil/python-flask-expensetracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Python Expense Tracker Engine

Overview

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.

Engineering Architecture

  • 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.json file.
  • Safe Termination Protocol: Supports direct browser-triggered server shutdowns.

Repository File Structure

├── 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:

  1. Install the necessary dependencies by running the following command:
pip install flask
  1. Clone the repository:
Bash
git clone <repository_url>
  1. Navigate to the project directory:
Bash
cd python-flask-expensetracker
  1. Run the application using Python:
Bash
python app.py

About

A clean Expense Tracker web application built using Python and Flask. Features numerical accumulation, JSON state persistence, type-safety validation, and server management.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages