Logo Lanfrica

xi-kki/zareb

Domain:

digital infrastructure

Record type:

softwaretools
Creator:
xi-
Host:
AI compliance checker for African foodtech founders exporting to EU/UK markets. # πŸƒ Zareb β€” AI Compliance Document Checker **Know your compliance gaps before the auditor does.** Zareb reads your **HACCP plans, ingredient lists, product labels, and audit reports** β€” then tells you exactly what's missing for **EU/UK export approval**. > 🎯 Built for food manufacturers, restaurant chains, and packaged food brands in **Africa** (Lagos, Accra, Nairobi) exporting to European markets. --- ## ✨ Features | Feature | Description | |---------|-------------| | πŸ“„ **Smart Upload** | Drag-and-drop PDF/DOCX files up to 10MB | | πŸ€– **AI Analysis** | Groq-powered compliance check against 8 standards | | πŸ“Š **Interactive Reports** | Score gauge, categorized gaps, copy-paste fixes | | πŸ’¬ **AI Chat** | Ask follow-up questions about your reports | | βœ… **Compliance Checklists** | Track progress for each standard with auto-save | | 🌍 **Africaβ†’EU/UK Focus** | Catches NAFDAC-to-EU gaps, allergen rules, traceability | ### Supported Standards HACCP Β· FSMA Β· SQF Β· BRCGS Β· ISO 22000 Β· NAFDAC (Nigeria) Β· KEBS (Kenya) Β· FDA EU Law --- ## πŸ—οΈ Architecture ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” HTTP/JSON β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Frontend β”‚ ──────────────────▢ β”‚ Backend β”‚ ──▢ β”‚ PostgreSQL β”‚ β”‚ React + Viteβ”‚ ◀────────────────── β”‚ FastAPI β”‚ β”‚ (Railway) β”‚ β”‚ (Netlify) β”‚ SSE streaming β”‚ (Railway) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β” β”‚ Groq AI API β”‚ β”‚ (Free Tier) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ``` ### Data Flow 1. **Register/Login** β†’ JWT token stored in browser 2. **Upload PDF** β†’ Backend extracts text (PyPDF2/python-docx), stores in Cloudinary 3. **Analyze** β†’ Backend sends extracted text to Groq AI β†’ receives structured JSON 4. **View Report** β†’ Score gauge, categorized gaps (Critical/Moderate/Minor), fix suggestions 5. **Chat** β†’ SSE streaming from AI with report context loaded --- ## πŸš€ Quick Start ### Prerequisites - Python 3.11+ - Node.js 18+ - Groq API key (free β€” no cred …