Accra Operations Intelligence System (AOIS), based on the Product Requirements Document (PRD). The AOIS aims to provide a centralized platform for an Operations Manager to gain visibility, monitor performance, analyze transfers, derive operational insights, and support executive decision-making for M-Kopa agents across MTN offices in Accra.
# M-Kopa Accra Operations Intelligence System (AOIS)
A comprehensive operations intelligence platform for managing M-Kopa agents across MTN offices in Accra.
## Overview
The M-Kopa AOIS provides real-time visibility, performance tracking, and actionable insights for operations managers to effectively oversee sales agents, shop performance, and daily operations.
## Project Structure
```
M-Kopa-Accra-Operations-Intelligence-System/
├── backend/ # FastAPI Backend
│ ├── app/ # Application code
│ │ ├── api/ # API endpoints
│ │ ├── core/ # Configuration & security
│ │ ├── db/ # Database setup
│ │ ├── models/ # SQLAlchemy models
│ │ ├── schemas/ # Pydantic schemas
│ │ └── services/ # Business logic
│ ├── tests/ # Test suite
│ ├── alembic/ # Database migrations
│ └── README.md # Backend documentation
├── docs/ # Architecture documents
│ ├── M-Kopa AOIS - API & Backend Architecture.md
│ ├── MKopa_AOIS_Architecture_Design.md
│ └── MKopa_AOIS_Demo_PRD.md
└── README.md # This file
```
## Features
### ✅ Implemented
**API Layer (22 Endpoints)**
- JWT Authentication
- Team Member (Agent) Management
- Shop Management
- Sales Data Management with Bulk Import
**Business Services**
- Team Service - Agent CRUD and search
- Shop Service - Shop CRUD and search
- Sales Service - Sales tracking and daily summaries
**Database**
- PostgreSQL with 6 core models
- Complete relationship tracking
- Historical data support
- Soft delete capability
### 🚧 Planned
- Performance Engine (rankings, KPIs)
- Analytics Engine (trends, insights)
- Forecaster Service (predictions)
- Google/Microsoft Forms Integration
- Report Generator (PDF/Excel)
## Quick Start
### Prerequisites
- Python 3.11+
- Post …