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.

tasimbiswakandemiiri919-arch/fareguard

Domain:

socioeconomic

Record type:

software
Creator:
tas
Host:
AI-powered kombi fare enforcement system for Zimbabwe # πŸ›‘οΈ FareGuard AI-powered kombi fare enforcement system for Zimbabwe. Protects students and commuters from overcharging using anomaly detection, anonymous reporting, and a real-time authority dashboard. ## 🚨 Problem Students in Harare using kombis face: - Overcharging β€” fares 40–60% above official rates - No reporting system β€” no way to verify or report abuse - Students overpay, miss school, or walk long distances ## βœ… Solution FareGuard provides: - **Anonymous public reporting** β€” any commuter can report overcharging - **AI anomaly detection** β€” flags fares that deviate more than 20% from official rates - **Risk scoring engine** β€” ranks kombis by overcharging risk based on report history - **Authority dashboard** β€” VCZELA/MOT officials manage kombis, verify reports, suspend offenders - **Public fare checker** β€” anyone can verify official fares before boarding ## πŸ› οΈ Tech Stack - **Backend:** Python, Flask - **Database:** MySQL - **Frontend:** Jinja2, HTML, CSS - **AI:** Rule-based anomaly detection + weighted risk scoring ## πŸ“ Project Structure ``` fareguard/ β”œβ”€β”€ app.py # Flask app β€” routes, AI logic, auth β”œβ”€β”€ schema.sql # MySQL database schema + seed data β”œβ”€β”€ requirements.txt # Python dependencies β”œβ”€β”€ .env.example # Environment variables template β”œβ”€β”€ static/css/ # Stylesheets └── templates/ # Jinja2 HTML templates β”œβ”€β”€ base.html β”œβ”€β”€ login.html β”œβ”€β”€ dashboard.html β”œβ”€β”€ report.html β”œβ”€β”€ fare_check.html β”œβ”€β”€ kombis.html β”œβ”€β”€ reports.html β”œβ”€β”€ risk_analysis.html └── routes.html ``` ## βš™οΈ Setup 1. Create the database in phpMyAdmin β€” run `schema.sql` 2. Copy `.env.example` to `.env` and fill in your MySQL credentials 3. Install dependencies: ``` pip install -r requirements.txt ``` 4. Run the app: ``` set FLASK_APP=app.py python app.py ``` 5. Visit `localhost` ## πŸ‘€ Create Admin User In phpMyAdmin, run: ```sql INSERT INTO users (username, password_hash, role) VALUES ('admin', ' ', 'admin'); ``` Generate ha …

Visit

github.com

Similar

onyangotony34-arch/afyalinkpedronsukampava-arch/Pedro_portifoliojerrok4-arch/FrudGard_NGainebyemartin0-arch/danagemzwalux33-arch/haqqijosephgayome-arch/PAapp

onyangotony34-arch/afyalink

AfyaLink β€” Post-discharge patient monitoring platform for Kenya # AfyaLink Post-discharge patient

pedronsukampava-arch/Pedro_portifolio

PortfΓ³lio pessoal de Pedro Nsuka Mpava β€” estudante de Engenharia InformΓ‘tica, apaixonado por program

jerrok4-arch/FrudGard_NG

Fraud detection app for financial systems in Nigeria # πŸ›‘οΈ FraudGuard NG **Real-time Fraud Detectio

ainebyemartin0-arch/danagemz

A luxury e-commerce web application built for **Dana Gemz**, a jewelry business based in Uganda. Thi

walux33-arch/haqqi

Moroccan Legal AI Platform in Darija with RAG # Ψ­Ω‚ΩŠ (Haqqi) β€” Moroccan Legal AI Platform > **Ψ­Ω‚ΩŠ**

josephgayome-arch/PAapp

Preachers β€” your sermon deserves to live beyond Sunday. The DHA Smart Preaching Assistant records yo