Logo Lanfrica

Eugene-Olok/micro_insure

Domain:

socioeconomic

Record type:

software
Creator:
Eug
Host:
🛡️ Micro-Insure Educator (v1) A Flask-based micro-insurance premium calculator designed to teach users in Uganda how insurance pricing works through interactive feedback. # 🛡️ Micro-Insure Educator (v1) A Flask-based micro-insurance premium calculator designed to teach users in Uganda how insurance pricing works through interactive feedback. ## Features - **Educational Engine:** Explains pricing factors (Age, Income, Coverage) in real-time. - **Local Currency:** Calculated in UGX with mobile-money-friendly rounding. - **Lead Gen:** Captures phone numbers for agent callbacks. - **Admin Panel:** Internal dashboard to view generated leads and quotes. - **Printable Quotes:** Optimized CSS for printing/saving quotes as PDF. ## Setup 1. `python3 -m venv .venv` 2. `source .venv/bin/activate` 3. `pip install -r requirements.txt` 4. `python3 app.py` ## Environment Variables (.env) - `ADMIN_SECRET`: The password required to access `/admin?key=your_secret`. - `FLASK_SECRET_KEY`: Random string for session security. ## Deployment This project includes a `Procfile` for Gunicorn. - **Render/Railway:** Connect your GitHub repo, set the environment variables, and it will deploy automatically.