How annepuuday111/ai_powered_personal_finance_management works
FinanceAI is a Django personal-finance application. Users sign up or log in, complete the documented email-OTP flow, then manage accounts, transactions, budgets, and goals through the accounts app; dashboard and analytics views summarize that data, while AI insights and notifications add guidance and alerts. A separate chat app calls Groq for conversational assistance. The source excerpts show the core services and models, but not every view implementation, so some feature-to-storage links are omitted where caller evidence is unavailable.
Main entry points: views.py Finance views · models.py Finance records · urls.py Django routing · ai_service.py Insight generation
Components 15
Web and identity
- Django routing
financeai/urls.py - Login and OTP
accounts/views.py - Finance forms
accounts/forms.py
Finance management
- Finance views
accounts/views.py - Finance records
accounts/models.py - Dashboard summary
accounts/context_processors.py - Financial analytics
accounts/views.py
Insights and alerts
- Insight generation
accounts/ai_service.py - Notification service
accounts/notification_service.py - Account setup signals
accounts/signals.py - Finance news import
accounts/management/commands/fetch_google_news.py - Google News RSS
AI assistant
- Chat endpoint
chat/views.py - Groq API
Other components
- Finance user
Connections 19
- Finance user → Django routing: uses
README.md - Django routing → Login and OTP: routes auth
financeai/urls.py - Django routing → Finance views: routes finance
financeai/urls.py - Django routing → Chat endpoint: routes chat
financeai/urls.py - Login and OTP → Finance forms: uses signup form
accounts/views.py - Finance user → Finance views: manages finances
README.md - Finance views → Finance forms: validates input
accounts/views.py - Finance views → Finance records: reads and writes
accounts/views.py - Dashboard summary → Finance records: reads totals
accounts/context_processors.py - Finance user → Financial analytics: reviews trends
README.md - Finance views → Insight generation: requests insights
accounts/views.py - Insight generation → Finance records: analyzes records
accounts/ai_service.py - Insight generation → Google News RSS: fetches RSS
accounts/ai_service.py - Finance news import → Insight generation: creates news insights
accounts/management/commands/fetch_google_news.py - Account setup signals → Notification service: sends welcome alert
accounts/signals.py - Account setup signals → Finance records: creates profile and categories
accounts/signals.py - Notification service → Finance records: stores notifications
accounts/notification_service.py - Finance user → Chat endpoint: asks questions
chat/views.py - Chat endpoint → Groq API: sends chat request
chat/views.py