Ingoboka β Next.js 14 PWA frontend for the digital microinsurance platform. Citizen policy wallet, claims, and insurer portal. Built for Rwanda. π·πΌ
# Ingoboka Platform - Frontend
> Digital microinsurance platform for Rwanda - Empowering citizens with affordable insurance
## π Overview
Ingoboka is a B2B2C digital insurance platform designed for Rwanda, enabling:
- **Citizens** to enroll in affordable micro-insurance products
- **Insurers** to manage product catalogs and process claims
- **Agents** to assist customers with enrollment
- **Platform Admins** to onboard partners and monitor the ecosystem
### Key Features
β
Multi-role authentication (Citizen, Insurer, Agent, Admin)
β
Product catalog with daily/weekly/monthly premiums
β
Needs assessment with AI recommendations
β
Digital policy cards with QR verification
β
Claims submission and tracking
β
Mobile money payment integration
β
Bilingual support (Kinyarwanda & English)
β
Progressive Web App (PWA) ready
β
Responsive design (mobile-first)
---
## π Quick Start
### Prerequisites
- **Node.js** 20+ (Download)
- **npm** or **yarn**
- **Backend API** running (see `.tmp-api/README.md`)
### Installation
```bash
# 1. Install dependencies
npm install
# 2. Set up environment variables
cp .env.example .env.local
# 3. Configure API endpoint
# Edit .env.local:
NEXT_PUBLIC_API_BASE_URL=
localhost
# 4. Start development server
npm run dev
```
The app will be available at **
http://localhost:3000**
---
## π¦ Project Structure
```
src/
βββ app/ # Next.js App Router
β βββ [locale]/ # Internationalized routes
β β βββ (admin)/ # Platform admin dashboard
β β βββ (agent)/ # Agent workspace
β β βββ (auth)/ # Login, register, verify
β β βββ (citizen)/ # Citizen dashboard & features
β β βββ (insurer)/ # Insurer portal
β β βββ (marketing)/ # Public landing pages
β βββ api/ # API routes (if needed)
β βββ globals.css # Global styles
β
βββ components/ # React components
β βββ auth/ # Authentication components
β βββ ci β¦