Sovereign Legal Intelligence Platform for the Kenya Data Protection Act.
# Sheria AI
> **Offline-First Legal AI Assistant for Kenyan Law**
Sheria AI is a privacy-focused, offline-first legal intelligence platform designed specifically for Kenyan legal practitioners. Built with complete data sovereignty and DPA 2019 compliance at its core.
## 🌟 Key Features
- 🔒 **100% Offline Operation** - No internet required, complete data sovereignty
- 🛡️ **DPA 2019 Compliant** - Automatic PII redaction and compliance assessment
- ⚡ **High Performance** - FastAPI backend with async processing
- 🎨 **Modern UI** - Beautiful React interface with Tailwind CSS
- 🐳 **Docker Ready** - Easy deployment with Docker Compose
- 🇰🇪 **Kenya-Focused** - Specialized for Kenyan legal system
- 📊 **Compliance Assessment** - Automated DPA 2019 compliance evaluation
## 🚀 Quick Start
### Prerequisites
- Docker & Docker Compose (recommended)
- OR Python 3.11+ and Node.js 20+ (for local development)
### Using Docker (Recommended)
1. Clone the repository:
```bash
git clone
cd Sheria_AI
```
2. Start all services:
```bash
docker-compose up
```
3. Access the application:
- **Frontend**:
localhost
- **Backend API**:
localhost
- **API Documentation**:
localhost
### Local Development
#### Backend Setup
```bash
cd backend
pip install -r requirements.txt
uvicorn main:app --reload
```
#### Frontend Setup
```bash
cd frontend
npm install
npm run dev
```
## 📁 Project Structure
```
Sheria_AI/
├── backend/ # FastAPI backend
│ ├── app/
│ │ ├── api/
│ │ │ └── routes/ # API endpoints
│ │ │ ├── health.py # Health monitoring
│ │ │ └── compliance.py # DPA 2019 assessment
│ │ └── schemas/ # Pydantic v2 models
│ │ ├── health.py # Health check schemas
│ │ └── compliance.py # Legal entity & compliance models
│ ├── test_examples/ # Example API requests
│ ├── main.py # Application entry point
│ ├── requirements.txt # …