Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

ReguiguiMohamed/hybrid-real-time-fraud-detection-tunisia

Domain:

socioeconomic
Creator:
Reg
Host:
Prototype fraud-detection command center for Tunisian digital payments. FastAPI + SQLAlchemy/Neon verified; Kafka, Spark, ML, and RAG remain target architecture. --- title: Amastan Fraud Shield Guard sdk: docker app_port: 7860 --- # Amastan Fraud Shield Guard A small fraud alert review API for Tunisian digital payments. The hosted demo runs FastAPI on Hugging Face Spaces and stores data in Neon PostgreSQL. The same code uses SQLite locally. The project is finished and in maintenance mode. Release | API reference | Deployment | OpenAPI | Security ## What It Does - Stores fraud alerts. - Gives analysts a review queue. - Records analyst feedback. - Exports reviewed cases. - Tracks model metadata and training outcomes. - Reports drift and review metrics. - Exposes Prometheus metrics for Grafana Cloud. - Keeps an audit trail for important changes. Bearer tokens separate admin and analyst access. ## Proof The first image shows the hosted API, an authenticated Swagger request, and the same alert in Neon PostgreSQL. The second image shows the Grafana Cloud dashboard and the metric query behind it. The dashboard export is stored at `docs/grafana-dashboard.json`. ## Architecture ```mermaid flowchart LR Client[API client] --> API[FastAPI] API --> Auth[Admin / analyst tokens] Auth --> DB[(SQLite or Neon PostgreSQL)] DB --> Review[Alerts, feedback, audit, model metadata] API --> Metrics[Prometheus metrics] Metrics --> Grafana[Grafana Cloud] ``` This repository contains that deployed slice only. Earlier Kafka, Spark, Streamlit, Ollama, ChromaDB, Kubernetes, and local monitoring experiments were removed during final cleanup. ## Main Endpoints | Method | Path | Purpose | |---|---|---| | `GET` | `/health/` | Health and version | | `POST` | `/api/v1/alerts/add/` | Store an alert | | `GET` | `/api/v1/alerts/review-queue/` | Read the review queue | | `POST` | `/api/v1/feedback/` | Record analyst feedback | | `GET` | `/api/v1/stats/` | Review statistics | | `GET` | `/api/v1/compliance/kpis/` | Compliance indicators | | `GET` | `/api/v1/model/training-summary` | Model training history | | `GET` | `/metrics` | Prometheus metri …

Visit

github.com

Tags

apache-kafkaapache-sparkfastapifintechfraud-detectionmachine-learningpostgresqlprometheusragtunisia

Licenses

MIT

Similar

ennock/Tunisia-Fraud-Detectionwaleblaq/tunisia-fraud-detectionReguiguiMohamed/Driving-Instructor-TunisiaFRAUDDETECTNET: A CAPSULE NETWORK WITH CNN-LSTM HYBRID MODEL FOR REAL-TIME BANKING FRAUDMachine Learning Techniques for Real-Time Fraud Detection and Prevention in Ghanaian BanksOmar-Elhadidi/tax-fraud-detection-tunisia

ennock/Tunisia-Fraud-Detection

A repository of predicting fraud from tax payers from the government of Tunisia # Tunisia-Fraud-Det

waleblaq/tunisia-fraud-detection

Tax fraud is the intentional act of lying on a tax return form with the intent to lower one’s tax li

ReguiguiMohamed/Driving-Instructor-Tunisia

# 🚗 Driving School Management Platform > Enterprise-grade driving school management s

FRAUDDETECTNET: A CAPSULE NETWORK WITH CNN-LSTM HYBRID MODEL FOR REAL-TIME BANKING FRAUD

With the dynamic digital banking ecosystem, fraud detection is still an important issue. This paper

Machine Learning Techniques for Real-Time Fraud Detection and Prevention in Ghanaian Banks

Fraud remains a significant challenge in the global financial industry, with Ghanaian banks increasi

Omar-Elhadidi/tax-fraud-detection-tunisia

Machine learning pipeline to detect tax fraud using Tunisia Ministry of Finance data # 🧾 Tunisia Ta