Real-time fraud detection for debit card transactions using Machine Learning, IBM Cloud, Node.js, and a modern TypeScript frontend.
๐ Live: Frontend on Vercel ยท Backend on Railway
๐ Repo: github.com/23e46pratham-lab/ShieldVision_Working
๐ backend repo: https://github.com/23e46pratham-lab/backend
Financial fraud is rapidly increasing with the growth of digital banking โ especially in loan processing and debit card transactions. Traditional rule-based systems used in Indian banking fail to catch sophisticated fraud patterns.
ShieldVision is an end-to-end AI-powered fraud detection system that classifies debit card transactions as Fraudulent or Legitimate in real time using a Snap Random Forest Classifier hosted on IBM Cloud.
- โก Real-time single transaction prediction
- ๐ CSV batch detection
- ๐ Live dashboard with fraud analytics
- ๐ฅง Pie chart fraud/legitimate ratio
- ๐ Latest fraud alerts panel
- ๐ Full transaction history logs
- โ๏ธ Cloud-deployed ML model (IBM Watson)
- ๐ Secure environment-based configuration
- ๐ซ No mock data โ fully connected to live backend
| Layer | Technology | Hosting |
|---|---|---|
| ๐ง ML Model | Snap Random Forest Classifier | IBM Cloud (Watson ML) |
| ๐ง Backend | Node.js + Express | Railway.app |
| ๐ป Frontend | TypeScript, HTML, JS | Vercel |
| ๐ Charts | Recharts | โ |
User Input (Form / CSV)
โ
Node.js Backend
โ Validates & formats transaction fields
โ Sends payload to IBM Cloud ML endpoint
โ
IBM Watson ML
โ Snap Random Forest Classifier
โ Returns: { "prediction": "Fraud", "confidence": 0.92 }
โ
Backend formats & logs result
โ
Frontend Dashboard
โ Live prediction result
โ Updated analytics & charts
type ยท amount ยท nameOrig ยท oldbalanceOrg ยท newbalanceOrig
nameDest ยท oldbalanceDest ยท newbalanceDest
ShieldVision_Working/
โโโ frontend/
โ โโโ src/
โ โ โโโ pages/
โ โ โโโ components/
โ โ โโโ services/api.ts
โ โ โโโ types.ts
โ โโโ vite.config.ts
โ
โโโ backend/
โโโ server.js
โโโ routes/
โโโ .env
git clone https://github.com/23e46pratham-lab/ShieldVision_Working.git
cd ShieldVision_Workingcd backend
npm install
npm startcd frontend
npm install
npm run devBackend .env
IBM_API_KEY=your-ibm-api-key
IBM_URL=your-ibm-ml-endpoint
PORT=5000
Frontend .env
VITE_BACKEND_URL=https://your-backend.railway.app/api
- Live fraud vs legitimate pie chart
- Real-time prediction panel
- Transaction history table
- Latest fraud alerts
- CSV batch result preview
- Accuracy metrics
- User authentication
- Database integration (MongoDB / PostgreSQL)
- Model monitoring dashboard
- Advanced anomaly detection
- Multi-card fraud correlation
Developed as part of the CLPBL Initiative at St. Joseph Engineering College, Mangaluru โ addressing a real problem in India's rapidly expanding digital banking ecosystem.