How preetichaudhary-it/expense-tracker works
DailySpend is a browser-based expense tracker. Users register, log in, and reach a per-user dashboard where they add, edit, delete, search, and filter transactions while viewing income, expenses, and balance totals. Authentication and transaction data are stored in browser LocalStorage; there is no server-side service in the documented design. The dashboard excerpt shows its session guard, transaction rendering, summary calculations, and form handling. HTML page wiring was not sampled, so page-to-script links are not asserted.
Main entry points: dashboard.js Dashboard Controller · login.js Login · register.js Registration
Components 9
Account Access
- Registration
js/register.js - Login
js/login.js
Expense Dashboard
- Dashboard Controller
js/dashboard.js - Transaction List
js/dashboard.js - Income & Balance
js/dashboard.js
Browser Storage
- User Transactions
- Registered Users
- Active Session
Other components
- User
Connections 12
- User → Registration: submits details
js/register.js - Registration → Registered Users: reads and writes
js/register.js - Registration → Login: redirects
js/register.js - User → Login: submits credentials
js/login.js - Login → Registered Users: reads users
js/login.js - Login → Active Session: writes session
js/login.js - Login → Dashboard Controller: redirects
js/login.js - Dashboard Controller → Active Session: reads session
js/dashboard.js - Dashboard Controller → User Transactions: reads and writes
js/dashboard.js - Dashboard Controller → Income & Balance: updates totals
js/dashboard.js - Dashboard Controller → Transaction List: refreshes list
js/dashboard.js - Transaction List → User: displays filtered items
js/dashboard.js