How renzosantelli/expense-tracker works
This is a browser-based expense tracker. Users add expenses, which are validated, kept in an in-memory list, and saved to local storage; the app displays the list, totals, and category totals, with filtering, sorting, deletion, and category creation. The sampled JavaScript supports these runtime relationships; the HTML and CSS are present in the tree but were not sampled, so their internal structure and styling links are not mapped.
Main entry points: gastos.js Expense list · index.html Tracker interface
Components 11
User interface
- Tracker interface
index.html - Expense table
gastos.js
Expense management
- Expense entry
gastos.js - Expense list
gastos.js - Category management
gastos.js - Category filtering
gastos.js - Amount sorting
gastos.js - Overall total
gastos.js - Category totals
gastos.js
Local persistence
- Browser local storage
Other components
- User
Connections 16
- User → Tracker interface: uses
- Tracker interface → Expense entry: submits
gastos.js - Expense entry → Expense list: adds expense
gastos.js - Expense entry → Browser local storage: saves
gastos.js - Expense entry → Expense table: refreshes
gastos.js - Expense list → Browser local storage: loads and saves
gastos.js - Expense list → Expense table: renders
gastos.js - Expense list → Overall total: updates
gastos.js - Expense list → Category totals: updates
gastos.js - Expense list → Category filtering: requests filtered list
gastos.js - Category filtering → Amount sorting: passes results
gastos.js - Amount sorting → Expense table: provides rows
gastos.js - Tracker interface → Category filtering: changes filter
gastos.js - Tracker interface → Amount sorting: changes order
gastos.js - Tracker interface → Category management: adds category
gastos.js - Expense table → Expense list: deletes expense
gastos.js