Logo Lanfrica

Gaddiel05/PAEIP-Project

Domain:

socioeconomic

Record type:

software
Creator:
Gad
Host:
A web-based interactive dashboard displaying Economic metrics of East-African countries # πŸ“Š Pan-African Economic Intelligence Platform (PAEIP) This project is a Flask-based web application that provides an interactive economic dashboard for East African countries, built using: - Flask (backend) - SQLite (database) - Chart.js (interactive charts) - HTML/CSS/JS (front-end) - CSV export functionality - User authentication (signup/signin) It loads macroeconomic data from the JSON file, East-African-data.json, and stores it into an SQLite database (paei.db). ## ✨ Features ### βœ… Dashboard Interactive dashboard showing: - Population - GDP growth - GDP sector composition - Employment sectors - FDI - Unemployment - Inflation - Nominal GDP All displayed as dynamic charts (Chart.js) and KPIs. ### βœ… Filters - Filter by country - Filter by year - Auto-refresh of charts and KPIs ### βœ… Authentication - User signup - User login - Sessions - Password hashing (Werkzeug) ### βœ… Database - SQLite with: - metrics table (economic indicators) - users table (name, email, hashed password) ### βœ… CSV Export - A dedicated page to download the full dataset - File generated dynamically from the SQLite database - Only available for logged-in users ### βœ… Clean UI - Modern layout - Soft gradient background - Light-blue brand color (instead of the darker purple) ## πŸ“ Project Structure ``` β”œβ”€β”€ app.py β”œβ”€β”€ create_db.py β”œβ”€β”€ requirements.txt β”œβ”€β”€ README.md β”œβ”€β”€ paei.db # auto-created after running create_db.py β”‚ β”œβ”€β”€ East-African-data.json # cointains the dataset in json format β”‚ β”œβ”€β”€ templates/ β”‚ β”œβ”€β”€ base.html β”‚ β”œβ”€β”€ home.html β”‚ β”œβ”€β”€ signup.html β”‚ β”œβ”€β”€ signin.html β”‚ β”œβ”€β”€ dashboard.html β”‚ └── download.html β”‚ └── static/ β”œβ”€β”€ css/style.css └── js/dashboard.js ``` ## πŸ›  Installation & Setup ### 1. First option: Run the deployed version using: ``` paeip-dashboard.onrender.com ``` ### 2. Second option: Clone and run the program locally 1️⃣ **Clone the Project** ``` git clone github.com cd paei_dashboard ``` 2 …