How sahilkumar-r/spendly works
Spendly is a Flask expense-tracking web application. A visitor can register or log in; authenticated users reach a profile showing account details and expense summaries. The profile’s statistics, transactions, and categories are currently hardcoded, while the database schema and seed routine support expense records. Adding, editing, and deleting expenses are placeholders, not implemented flows. The source excerpts show route-to-storage and route-to-template calls; they do not show template contents or browser asset wiring, so those links are omitted or marked unverified.
Main entry points: app.py Flask routes · db.py SQLite store · profile.html Profile view · main.js Category interaction
Components 12
Web experience
- Flask routes
app.py - Landing view
templates/landing.html - Legal views
templates/terms.html - Privacy view
templates/privacy.html - Category interaction
static/js/main.js
Accounts
- Registration
app.py - Login and logout
app.py
Expense tracking
- Profile summary
app.py - Profile view
templates/profile.html - Expense placeholders
app.py
Persistence
- SQLite store
database/db.py
Other components
- Visitor
Connections 13
- Visitor → Flask routes: requests pages
- Flask routes → Registration: routes registration
app.py - Flask routes → Login and logout: routes authentication
app.py - Flask routes → Profile summary: routes profile
app.py - Flask routes → Expense placeholders: routes expenses
app.py - Flask routes → Landing view: renders
app.py - Flask routes → Legal views: renders
app.py - Flask routes → Privacy view: renders
app.py - Flask routes → Profile view: renders
app.py - Registration → SQLite store: creates users
app.py - Login and logout → SQLite store: looks up users
app.py - Profile summary → SQLite store: loads user
app.py - Category interaction → Profile view: enhances categories