FraudGuard Elite is a production-grade, full-stack fraud detection platform designed to simulate, monitor, and investigate financial transactions in real-time. Unlike static analysis tools, this system leverages WebSockets to stream live transaction data, visualizing potential threats on an interactive dashboard with geospatial intelligence.
It demonstrates advanced full-stack engineering skills, combining a high-performance Node.js backend with a modern, glassmorphism-styled React frontend.
- Real-Time Monitoring: Detect and display transactions the instant they occur using Socket.io.
- Analyst Experience: Provide a professional "Investigation Mode" for deep-diving into suspicious activities.
- Data Visualization: Render complex transaction flows using dynamic charts and geospatial indicators.
- Simulation: Generate realistic transaction patterns (legitimate vs. fraudulent) to test detection workflows.
- Framework: React 18 (Vite)
- Language: TypeScript
- Styling: Tailwind CSS, Framer Motion (Animations)
- Visualization: Recharts, Lucide Icons
- State Management: Zustand
- Runtime: Node.js
- API: Express.js
- Real-Time: Socket.io (WebSockets)
- Simulation Engine: Custom TypeScript algorithms for geolocation and fraud probability distribution.
- π Live Transaction Feed: WebSocket-powered stream of transactions with instant "Fraud/Safe" classification.
- π Geospatial Intelligence: Visualizes transaction origins relative to user home locations to detect "Impossible Travel" fraud.
- π Interactive Analytics: Real-time charts showing risk distribution and transaction volume.
- π‘οΈ Analyst Dashboard: Detailed view for investigating specific transaction metadata (IP, device ID, merchant category).
- β¨ Premium UI/UX: "Glassmorphism" design language with fluid animations for a modern enterprise feel.
The landing page featuring a high-conversion hero section and glassmorphism design.
![Home Page]

Secure authentication portal with Google integration.
![Login Page]
Onboarding flow for new fraud analysts.
![Signup Page]
Real-time command center showing live transaction streams, risk charts, and geospatial data.
![Dashboard]

fraud-detection-system/
β
βββ api/ # Backend & Simulation Engine
β βββ routes/ # API Endpoints
β βββ services/ # Logic for Fraud Simulation
β βββ app.ts # Express App Setup
β βββ index.ts # Socket.io Entry Point
β
βββ src/ # Frontend Application
β βββ components/ # Reusable UI Components
β β βββ dashboard/ # Analyst Dashboard Widgets
β βββ pages/ # Route Pages (Login, Home, Dashboard)
β βββ lib/ # Utilities & Helpers
β βββ App.tsx # Main Component
β
βββ public/ # Static Assets
βββ package.json # Dependencies & Scripts
βββ README.md # Documentation-
Clone the repository
git clone https://github.com/AgreementMudau05/fraud-detection-system.git cd fraud-detection-system -
Install Dependencies
npm install
-
Start the Development Suite (Frontend + Backend)
npm run dev
This command runs both the React client (Port 5173) and the Node.js server (Port 3001) concurrently.
-
Access the Application
- Open
http://localhost:5173in your browser. - Login with the demo credentials pre-filled in the login page.
- Open
- Machine Learning Integration: Connect the Node.js backend to a Python Flask/FastAPI service running a trained Random Forest model for higher-accuracy predictions.
- Database Persistence: Migrate from in-memory simulation to PostgreSQL/TimescaleDB for historical analysis.
- Docker Support: Containerize the application for easy deployment to AWS/GCP.
- Mobile App: Develop a React Native companion app for alerts.
Author: Agreement Mudau Role: Full Stack Engineer & Data Specialist