Plateforme SAS pour la commercialisation de modèles IA wolof
# Kàddu AI
> Plateforme API commerciale pour les modèles d'intelligence artificielle dédiés à la langue wolof.
---
## 🚀 Technologies
- **Backend** : FastAPI (Python 3.11+), SQLAlchemy 2.0, Alembic, PostgreSQL 15, Redis 7
- **Frontend** : React 18, TypeScript, Vite 5, TailwindCSS 3, Shadcn/ui
- **Infrastructure** : Docker, Docker Compose, Nginx
---
## 📦 Démarrage rapide
### Prérequis
- Docker Desktop installé et démarré
- Git
### 1. Cloner le dépôt
```bash
git clone
github.com
cd kaddu-ai
```
### 2. Configurer l'environnement
```bash
cp backend/.env.example backend/.env
# Éditer backend/.env avec vos vraies valeurs
```
### 3. Lancer l'environnement complet
```bash
docker-compose up -d
```
### 4. Appliquer les migrations
```bash
docker-compose exec backend alembic upgrade head
```
### 5. Créer le plan Sandbox par défaut
```bash
docker-compose exec backend python -c "
from app.database import SessionLocal
from app.models.plan import Plan
db = SessionLocal()
plan = Plan(nom='Sandbox', prix=0, quota_mensuel=20, modeles_autorises=['asr','tts','traduction'], est_actif=True)
db.add(plan)
db.commit()
print('Plan Sandbox créé avec succès !')
"
```
---
## 🌐 Accès
| Service | URL |
|---|---|
| API Backend |
localhost |
| Documentation Swagger |
localhost |
| ReDoc |
localhost |
| Frontend |
localhost |
| PostgreSQL | localhost:5432 |
| Redis | localhost:6379 |
---
## 📡 Endpoints principaux
| Modèle | Endpoint | Description |
|---|---|---|
| ASR | `POST /v1/transcribe` | Audio wolof → Texte |
| TTS | `POST /v1/synthesize` | Texte wolof → Audio |
| MT | `POST /v1/translate` | Wolof ↔ Français |
---
## 🗂️ Structure du projet
```
kaddu-ai/
├── backend/ # API FastAPI
├── frontend/ # Application React
├── docker-compose.yml
└── README.md
```
---
## 📋 Phases de développement
- [x] **Phase 1** — Fondations (Docker, Auth, Landing)
- [ ] **Phase 2** — Cœur mét …