How samanvitharavikumar/findash works
FinDash is a personal-finance web app: users register or sign in, manage income and expenses, then review summaries and charts, ask questions about their finances, or request a credit rating. The React router exposes these distinct experiences; Django provides transaction, registration, AI-helper, and credit-prediction endpoints, with transaction records as the central persisted state. The sampled backend shows the credit preprocessing and AI prompt/service layers. Several frontend screens and their API calls were not excerpted, so those connections are not asserted.
Main entry points: App.jsx Page routing · views.py Account and transactions · Navbar.jsx Navigation · ai_views.py AI request handler
Components 20
Web experience
- Page routing
frontend/src/App.jsx - Sign in / register
frontend/src/pages/Auth.jsx - Dashboard
frontend/src/pages/Dashboard.jsx - Add expense
frontend/src/pages/AddExpense.jsx - Charts
frontend/src/pages/ChartsPage.jsx - AI helper
frontend/src/pages/AIHelper.jsx - Credit score
frontend/src/pages/CreditScore.jsx - Welcome screen
frontend/src/pages/SplashScreen.jsx - Navigation
frontend/src/components/Navbar.jsx
Finance API
- API routing
backend/transactions/urls.py - Account and transactions
backend/transactions/views.py - Request serialization
backend/transactions/serializers.py - Transaction records
backend/transactions/models.py
Insights and scoring
- AI request handler
backend/transactions/ai_views.py - Prompt construction
backend/transactions/prompt_builder.py - Gemini client
backend/transactions/ai_Service.py - Credit preprocessing
backend/ml/preprocessing.py - Credit prediction
backend/transactions/views.py
Other components
- User
- Google Gemini
Connections 27
- User → Page routing: uses
frontend/src/App.jsx - Page routing → Welcome screen: routes to
frontend/src/App.jsx - Page routing → Sign in / register: routes to
frontend/src/App.jsx - Page routing → Dashboard: routes to
frontend/src/App.jsx - Page routing → Add expense: routes to
frontend/src/App.jsx - Page routing → Charts: routes to
frontend/src/App.jsx - Page routing → AI helper: routes to
frontend/src/App.jsx - Page routing → Credit score: routes to
frontend/src/App.jsx - Dashboard → Navigation: renders
frontend/src/pages/Dashboard.jsx - Add expense → Navigation: renders
frontend/src/pages/AddExpense.jsx - Charts → Navigation: renders
frontend/src/pages/ChartsPage.jsx - AI helper → Navigation: renders
frontend/src/pages/AIHelper.jsx - Credit score → Navigation: renders
frontend/src/pages/CreditScore.jsx - Sign in / register → Account and transactions: calls API
- Dashboard → Account and transactions: requests transactions
frontend/src/pages/Dashboard.jsx - Page routing → API routing: API entry
- API routing → Account and transactions: routes to
backend/transactions/urls.py - API routing → AI request handler: routes to
backend/transactions/urls.py - Account and transactions → Request serialization: serializes
backend/transactions/views.py - Account and transactions → Transaction records: reads and writes
backend/transactions/views.py - Request serialization → Transaction records: maps fields
backend/transactions/serializers.py - Account and transactions → Credit preprocessing: prepares features
backend/transactions/views.py - AI request handler → Transaction records: reads user records
backend/transactions/ai_views.py - AI request handler → Prompt construction: builds prompt
backend/transactions/ai_views.py - AI request handler → Gemini client: requests answer
backend/transactions/ai_views.py - Gemini client → Google Gemini: generates content
backend/transactions/ai_Service.py - Credit score → Credit prediction: requests score