How krushitha30/budgetbuddy works
BudgetBuddy is a personal-finance application: users authenticate, record income and expenses, manage budgets and savings goals, and inspect dashboards, reports, and notifications. The frontend routes users to feature pages, whose services communicate with the Django API; backend views expose domain operations and analytics over persisted records. The README documents authenticated expense workflows and JWT authentication. Several domain views and route definitions were not excerpted, so their links to models and endpoints are shown as unverified rather than asserted as inspected calls.
Main entry points: App.jsx App routes · urls.py Django API routes · api.js HTTP client · signals.py Notification signals
Components 24
Web client
- App routes
frontend/src/App.jsx - HTTP client
frontend/src/services/api.js - Django API routes
backend/config/urls.py
Identity
- Login and registration
frontend/src/pages/Login.jsx - Auth service
frontend/src/services/authService.js - User APIs
backend/users/views.py
Finance records
- Expenses
frontend/src/pages/Expenses.jsx - Income
frontend/src/pages/Income.jsx - Budgets
frontend/src/pages/Budgets.jsx - Savings goals
frontend/src/pages/Savings.jsx - Expense APIs and records
backend/expenses/models.py - Income records
backend/income/models.py - Budget APIs and records
backend/budgets/models.py - Savings goals
backend/savings/models.py
Insights and alerts
- Dashboard
frontend/src/pages/Dashboard.jsx - Analytics charts
frontend/src/components/AnalyticsCharts.jsx - Reports
frontend/src/pages/Reports.jsx - Notification bell
frontend/src/components/NotificationBell.jsx - Analytics APIs
backend/analytics/views.py - Report APIs
backend/reports/views.py - Notification records
backend/notifications/models.py - Notification signals
backend/notifications/signals.py - Email delivery
backend/notifications/email_service.py
Other components
- Budget user
Connections 44
- Budget user → App routes: uses
README.md - App routes → Login and registration: routes to
frontend/src/App.jsx - App routes → Dashboard: routes to
frontend/src/App.jsx - App routes → Expenses: routes to
frontend/src/App.jsx - App routes → Income: routes to
frontend/src/App.jsx - App routes → Budgets: routes to
frontend/src/App.jsx - App routes → Savings goals: routes to
frontend/src/App.jsx - App routes → Reports: routes to
frontend/src/App.jsx - Login and registration → Auth service: uses
- Auth service → HTTP client: calls
frontend/src/services/authService.js - Auth service → User APIs: requests
README.md - Budget user → User APIs: authenticates
README.md - Dashboard → Analytics charts: renders
frontend/src/pages/Dashboard.jsx - Dashboard → HTTP client: requests
- Expenses → HTTP client: requests
- Budgets → HTTP client: requests
- Income → HTTP client: requests
- Savings goals → HTTP client: requests
- Reports → HTTP client: requests
- Notification bell → HTTP client: requests
- HTTP client → Django API routes: calls
- Django API routes → Expense APIs and records: routes requests
README.md - Django API routes → User APIs: routes requests
README.md - Django API routes → Budget APIs and records: routes requests
- Django API routes → Analytics APIs: routes requests
- Django API routes → Report APIs: routes requests
- Django API routes → Income records: routes requests
- Django API routes → Savings goals: routes requests
- Analytics APIs → Expense APIs and records: reads
backend/analytics/views.py - Analytics APIs → Income records: reads
backend/analytics/views.py - Analytics APIs → Budget APIs and records: reads
backend/analytics/views.py - Analytics APIs → Savings goals: reads
backend/analytics/views.py - Analytics APIs → Notification records: reads
backend/analytics/views.py - Report APIs → Expense APIs and records: reads
backend/reports/views.py - Report APIs → Income records: reads
backend/reports/views.py - Report APIs → Budget APIs and records: reads
backend/reports/views.py - Report APIs → Savings goals: reads
backend/reports/views.py - Report APIs → Notification records: serializes
backend/reports/views.py - Notification signals → Expense APIs and records: observes
backend/notifications/signals.py - Notification signals → Income records: observes
backend/notifications/signals.py - Notification signals → Budget APIs and records: observes
backend/notifications/signals.py - Notification signals → Savings goals: observes
backend/notifications/signals.py - Notification signals → Notification records: creates
backend/notifications/signals.py - Notification signals → Email delivery: calls
backend/notifications/signals.py