How darshanmgowda636337-collab/smartspend works
SmartSpend combines a browser-based personal-finance dashboard with a small Express health API and standalone Python finance-analysis tools. The principal user workflow is to open the dashboard, work with transaction and budget data, and review filtered views and charts; the app also imports a provided workbook and saves data in browser storage. The Python tools cover classification, prediction, spending analysis, financial health, savings, and budget recommendations, but sampled evidence does not show them wired to the UI or API. The backend excerpts show health endpoints only.
Main entry points: App.jsx Finance dashboard · financial_score.py Financial health score · budget_recommendation.py Budget recommendations · main.jsx React entry
Components 18
Finance dashboard
- React entry
frontend/src/main.jsx - Finance dashboard
frontend/src/App.jsx - Transaction workbook
frontend/data/personal_transactions_dashboard_ready.xlsx - Browser storage
Health API
- Express server
backend/server.js - Health routes
backend/routes/healthRoutes.js - Health controller
backend/controllers/healthController.js
Finance analysis
- Expense classifier
ai_engine/expense_classifier.py - Classifier model
ai_engine/models/expense_classifier_v2.pkl - Expense prediction
ai_engine/expense_prediction.py - Spending analysis
ai_engine/spending_analysis.py - Financial health score
ai_engine/financial_score.py - Income records
ai_engine/data/income_data.csv - Cleaned expenses
ai_engine/data/cleaned_expenses.csv - Savings recommendations
ai_engine/savings_recommendation.py - Budget recommendations
ai_engine/budget_recommendation.py - Budget output
ai_engine/budget_recommendations.csv
Other components
- User
Connections 11
- User → React entry: opens
frontend/src/main.jsx - React entry → Finance dashboard: renders
frontend/src/main.jsx - Finance dashboard → Transaction workbook: loads data
frontend/src/App.jsx - Finance dashboard → Browser storage: reads and saves
frontend/src/App.jsx - Express server → Health routes: mounts routes
backend/server.js - Health routes → Health controller: dispatches
backend/routes/healthRoutes.js - Expense classifier → Classifier model: loads model
ai_engine/expense_classifier.py - Financial health score → Income records: reads
ai_engine/financial_score.py - Financial health score → Cleaned expenses: reads
ai_engine/financial_score.py - Budget recommendations → Cleaned expenses: reads
ai_engine/budget_recommendation.py - Budget recommendations → Budget output: writes
ai_engine/budget_recommendation.py