Skip to the content.

All. Done API v1.3.0

Backend API REST moderne pour la gestion collaborative de projets avec authentification JWT, stockage de fichiers, recherche full-text et suggestions IA.

Tests Coverage Python FastAPI

📚 Documentation

Pour les utilisateurs

Pour les développeurs

Guides techniques

🚀 FonctionnalitĂ©s

Gestion de projets

Collaboration

Intelligence Artificielle (Mistral AI)

Recherche & Navigation

🎯 Quick Start

Installation

git clone https://github.com/wolf75222/alldoneserver
cd alldoneserver
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt

Configuration

cp .env.example .env
# Éditer .env avec JWT_SECRET, MISTRAL_API_KEY, etc.

Lancer l’API

# Initialiser la base de données
python -c "from app.db.engine import init_db; init_db()"

# Démarrer le serveur
uvicorn app.main:app --reload --host 0.0.0.0 --port 8080

API disponible: http://localhost:8080 Documentation interactive: http://localhost:8080/docs

Utiliser le SDK TypeScript

import { OpenAPI, AuthService, TasksService } from './sdk';

// Configuration
OpenAPI.BASE = 'http://localhost:8080';

// Login
const { access } = await AuthService.login({
  email: 'user@example.com',
  password: 'password123'
});

OpenAPI.TOKEN = access;

// Créer une tùche
const task = await TasksService.createTask({
  project_id: 'project_id',
  wbs_id: 'wbs_id',
  title: 'Ma tĂąche',
  state: 'todo'
});

Voir documentation complĂšte du SDK.

📩 SDK Client

Le SDK TypeScript est prĂ©-gĂ©nĂ©rĂ© et prĂȘt Ă  l’emploi dans le dossier sdk/.

Services disponibles:

Régénération:

npm run generate

đŸ§Ș Tests

# Lancer tous les tests
pytest

# Avec coverage
pytest --cov=app --cov-report=html

RĂ©sultats: 137/137 tests passing (100%) ✹

📊 Architecture

API REST (FastAPI)
├── JWT Authentication
├── SQLite + FTS5
├── ACL (Workspace + Project)
├── WebSocket (Collaborative editing)
├── Mistral AI Integration
└── TypeScript SDK (auto-generated)

🔗 Liens utiles

📄 License

MIT License - voir LICENSE

🙋 Support


Version: 1.3.0 | Python: 3.11+ | FastAPI: 0.115 DĂ©veloppĂ© avec ❀ et ☕ par l’équipe All. Done