How vijaypatange21/finpulse works
FinPulse is a borrower–lender platform with a React client and Django REST backend. Users register, submit loan applications and documents, then use borrower or lender dashboards to monitor activity and manage applications; administrators review users, documents, loans, and ML risk tools. The backend models lending data and provides five prediction capabilities, with Celery tasks for asynchronous processing. Several backend request handlers and many page implementations were not sampled, so links to those runtime boundaries are shown only where documented or left unverified.
Main entry points: api.js API client · App.jsx Route shell · models.py Lending data models · tasks.py Async tasks
Components 22
React application
- Route shell
frontend/src/App.jsx - API client
frontend/src/lib/api.js - Admin layout
frontend/src/components/AdminLayout.jsx - Sample lending data
frontend/src/data/mockData.js - Notification context
frontend/src/context/NotificationContext.jsx
Lending workflows
- Borrower workflows
frontend/src/pages/LoanApplication.jsx - Borrower monitoring
frontend/src/pages/BorrowerMonitoring.jsx - Lender workflows
frontend/src/pages/LenderDashboard.jsx - Admin tools
frontend/src/pages/AdminMLEngine.jsx
Backend services
- REST API handlers
backend/api/views.py - API serialization
backend/api/serializers.py - Lending data models
backend/api/models.py - Async tasks
backend/api/tasks.py - Notification service
backend/api/services/notification_service.py - WebSocket consumer
backend/api/consumers.py - Celery runtime
backend/finpulse_backend/celery.py
ML and processing
- Bank statement parser
backend/api/parsers/bank_statement.py - Application underwriter
backend/api/ml/underwriter.py - Prediction service
backend/api/ml/service.py - Prediction models
backend/api/ml/predictors.py
Other components
- Platform users
- Administrators
Connections 27
- Platform users → Route shell: uses
frontend/src/App.jsx - Administrators → Route shell: uses
frontend/src/App.jsx - Route shell → Borrower workflows: routes to
frontend/src/App.jsx - Route shell → Lender workflows: routes to
frontend/src/App.jsx - Route shell → Admin tools: routes to
frontend/src/App.jsx - Borrower workflows → API client: requests data
- Borrower monitoring → API client: requests data
frontend/src/pages/BorrowerMonitoring.jsx - Borrower monitoring → Sample lending data: reads examples
frontend/src/pages/BorrowerMonitoring.jsx - Lender workflows → API client: requests data
- Admin tools → Admin layout: renders
frontend/src/pages/AdminMLEngine.jsx - Admin tools → API client: requests predictions
frontend/src/pages/AdminMLEngine.jsx - Admin layout → Notification context: renders
frontend/src/components/AdminLayout.jsx - Notification context → API client: loads notifications
frontend/src/context/NotificationContext.jsx - API client → REST API handlers: HTTP requests
README.md - REST API handlers → API serialization: serializes
- API serialization → Lending data models: maps data
- REST API handlers → Prediction service: invokes predictions
README.md - Async tasks → Lending data models: reads and updates
backend/api/tasks.py - Async tasks → Application underwriter: evaluates applications
backend/api/tasks.py - Async tasks → Prediction service: runs predictions
backend/api/tasks.py - Async tasks → Celery runtime: runs on
backend/api/tasks.py - Application underwriter → Prediction service: requests scores
backend/api/ml/underwriter.py - Application underwriter → Lending data models: reads application data
backend/api/ml/underwriter.py - Prediction service → Prediction models: dispatches prediction
backend/api/ml/service.py - Bank statement parser → Lending data models: reads and writes
backend/api/parsers/bank_statement.py - Notification service → Lending data models: uses notification data
backend/api/services/notification_service.py - WebSocket consumer → Notification context: streams updates