Logo Lanfrica

Lambert-01/rwanda-trade-analysis-system

Domain:

socioeconomic

Record type:

softwareproject
Creator:
Lam
Host:
# πŸ‡·πŸ‡Ό TradeScope - Rwanda Export Analysis Platform **πŸ† NISR HACKATHON 2025 - Team Codabytes** A comprehensive full-stack web platform for analyzing Rwanda's trade data, built with modern technologies and AI integration for the National Institute of Statistics of Rwanda (NISR) Hackathon 2025. ## πŸ“‹ Project Overview ### πŸš€ Our Solution A production-ready trade analysis platform that transforms **NISR's official Rwanda trade dataset** into actionable insights through: - **Advanced Data Processing**: Automated ETL pipeline for Excel data ingestion - **Machine Learning Integration**: Predictive analytics using Random Forest and XGBoost models - **Interactive Visualizations**: Real-time dashboards with Chart.js and Leaflet.js - **AI-Powered Insights**: Natural language processing with OpenRouter API integration - **Scalable Architecture**: Microservices design with MongoDB backend ## πŸ—οΈ Technical Architecture ### Multi-Tier System Design ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ 🌐 FRONTEND LAYER β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ πŸ“± Presentation Layer (Port 8080) β”‚ β”‚ β€’ Vanilla JavaScript ES6+ with modular architecture β”‚ β”‚ β€’ Chart.js v4.4.0 for interactive data visualization β”‚ β”‚ β€’ Leaflet.js v1.9.4 for geographic mapping β”‚ β”‚ β€’ Bootstrap 5.3.0 for responsive UI components β”‚ β”‚ β€’ Service Worker (PWA) for offline capabilities β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ HTTP/REST API β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ πŸš€ BACKEND LAYER β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ βš™οΈ API Gateway (Port 3000) β”‚ β”‚ β€’ Express.js v4.18.2 server with CORS middleware β”‚ β”‚ β€’ MongoDB v6.20.0 wit …