A comprehensive full-stack application designed to optimize banking lead management using Machine Learning. This portal helps Sales Agents focus on high-potential customers and gives Administrators powerful tools to manage teams, distribute leads, and analyze performance.
-
Predictive Lead Scoring Automatically calculates conversion probability (0–100%) using a Random Forest model.
-
Smart Priority Categorizes leads into High, Medium, or Low priority based on ML prediction.
-
Automated Distribution Uses a Round Robin system to distribute unassigned leads equally among sales agents.
-
Interactive Dashboard View KPIs, recent activities, and announcements.
-
Lead Management Filter leads by priority, status, or search by customer name.
-
One-Click Action Direct WhatsApp integration with pre-filled message templates.
-
Credit Application Submit credit applications directly for interested leads.
-
Performance Tracking Monitor personal conversion rates.
-
Team Management Add, edit, or remove sales agents.
-
Lead Import Bulk import leads via CSV with automatic scoring.
-
Broadcast Campaign Send mass WhatsApp messages to targeted audiences.
-
Credit Approval Review, approve, or reject credit applications.
-
Audit Logs Full activity tracking for security and compliance.
-
Analytics Comprehensive charts for monthly deposits, conversion rates, and top professions.
-
Dark Mode Fully responsive UI with toggleable dark/light themes.
-
Redis Caching High-performance data fetching and API response caching.
-
Cron Jobs
- Automated archiving after 90 days
- Data hiding after 3 years for database hygiene
-
PDF Reporting Downloadable performance and analytics reports.
| Component | Technology | Description |
|---|---|---|
| Frontend | React, Vite, Tailwind CSS | UI/UX, Recharts for analytics, Lucide Icons |
| Backend | Node.js, Express | REST API, Business Logic, Cron Jobs |
| Database | Supabase (PostgreSQL) | Authentication & relational data storage |
| Caching | Redis (Upstash) | API response caching |
| ML Engine | Python, FastAPI | Scikit-learn model serving |
| Deployment | Vercel (FE), Render (BE/ML) | Cloud hosting |
project-root/
├─ backend/ # Node.js + Express API server
├─ frontend/ # React + Vite + Tailwind CSS app
├─ ml/ # Python ML model & training
├─ docs/ # Project documentation
└─ docker-compose.yml
- Node.js v16+
- Python v3.9+
- Redis (Local or Upstash)
- Supabase Account
Gunakan akun berikut untuk mencoba fitur aplikasi sesuai dengan role masing-masing:
👑 Admin
Email: [email protected]
Password: 123456
💼 Sales Agent
Email: [email protected]
Password: 123456
git clone https://github.com/yuriya-dev/A25-CS075_Predictive-Lead-Scoring-Portal-for-Banking
cd A25-CS075_Predictive-Lead-Scoring-Portal-for-Bankingcd backend
npm install
cp .env.example .env
# Configure SUPABASE_URL, SUPABASE_KEY, REDIS_URL, ML_API_URL in .env
npm run devcd frontend
npm install
cp .env.example .env
# Configure VITE_SUPABASE_URL, VITE_SUPABASE_KEY
npm run devcd ml
pip install -r requirements.txt
uvicorn main:app --reload --host 0.0.0.0 --port 8000- Frontend: http://localhost:5173
- Backend: http://localhost:5000
- ML: http://localhost:8000
The project includes production-ready Dockerfiles and docker-compose configuration. See Setup Guide for details.
The prediction model is trained on the UCI Bank Marketing dataset using scikit-learn. See ML README for training details and model performance metrics.
Akses model, dataset, dan artefak terkait di Google Drive: Model AI / ML - Google Drive
MIT License - feel free to use this project for learning or commercial purposes.