How mihlalimandoyi-hub/expense-tracker works
Expense Tracker is a Flask app for registering users and managing private income and expense transactions. Its main workflow authenticates a user, accepts dated transactions, then lists them with date filtering, totals, balance, and category chart data; users can also edit or delete records. The README documents the chart visualizations and styled interface, though their template implementation was not sampled. Evidence is strongest for route-to-database calls in app.py; presentation details beyond the README are not inferred.
Main entry points: app.py Flask routes · expenses.html Expense dashboard · database.py SQLite data · register.html Account forms
Components 14
Web workflows
- Flask routes
app.py - Account auth
app.py - Transaction CRUD
app.py - Totals and charts
app.py
Persistence
- SQLite data
database.py
User interface
- Account forms
templates/register.html - Transaction forms
templates/add_expense.html - Edit form
templates/edit_expense.html - Expense dashboard
templates/expenses.html - Home page
templates/home.html - Login form
templates/login.html - Theme styling
static/style.css
Other components
- Visitor
- Chart.js
Connections 15
- Visitor → Flask routes: uses
README.md - Flask routes → Account auth: dispatches
app.py - Flask routes → Transaction CRUD: dispatches
app.py - Flask routes → Totals and charts: dispatches
app.py - Account auth → SQLite data: reads/writes
app.py - Transaction CRUD → SQLite data: reads/writes
app.py - Totals and charts → SQLite data: queries
app.py - Flask routes → Account forms: renders
app.py - Flask routes → Login form: renders
app.py - Flask routes → Home page: renders
app.py - Flask routes → Transaction forms: renders
app.py - Flask routes → Edit form: renders
app.py - Totals and charts → Expense dashboard: renders data
app.py - Expense dashboard → Chart.js: visualizes with
README.md - Expense dashboard → Theme styling: styled by
README.md