Agentic Trading Lab
Talk to agents, and test trading ideas. Try AI trading agents on real market data with no code required.
AI translation
Pré-recouvrement : suivi des factures clients, contrôle des pièces justificatives, alertes de retard, exports — Django / PostgreSQL
Translation pending
FinancePython · HTMLGitHub @stan-kempachiOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Application web de pré-recouvrement : suivi des factures clients, contrôle des pièces justificatives avant dépôt, alertes de retard et exports. Les connecteurs vers les plateformes de facturation (Chorus Pro, Ariba) sont la prochaine étape de la feuille de route.
Démo : https://recovr.stan-aria.dev (compte sur demande)
RecovR permet à une entreprise de :
| Couche | Choix |
|---|---|
| Backend | Django 4.2, Django REST Framework, django-allauth |
| Frontend | Templates Django + Tailwind CSS (CDN) + DataTables |
| Base de données | PostgreSQL 16 |
| Serveur | gunicorn + whitenoise, derrière un reverse proxy (TLS Cloudflare) |
| Qualité | black, isort, ruff, pre-commit, pytest / pytest-django |
| Versionnement | python-semantic-release (conventional commits) |
| App Django | Rôle | État |
|---|---|---|
accounts | Utilisateur personnalisé (login par email, rôles admin / user / readonly), entreprises, rattachement utilisateur ↔ entreprise | ✅ |
dashboard | Tableau de bord | ✅ |
invoices | Clients, factures (création, édition, filtres, statuts avec historique), documents justificatifs, conformité (facture + bon de commande + bon de livraison), jours de retard | ✅ |
tasks | Tâches, commentaires, assignation, règles de récurrence | ✅ |
notifications | Notifications in-app (badge, page, marquage lu) ; contrôle quotidien invoices_check (retards, pièces manquantes) ; email prêt, non activé | ✅ |
reporting | Export CSV / Excel des factures avec les filtres de la liste | ✅ (exports) |
compliance | Règles de conformité paramétrables | modèles seulement — la règle « 3 pièces » est codée dans invoices |
api_connectors | Connecteurs Chorus Pro / Ariba (stockage des identifiants API) | modèles seulement |
allauth-ui).GOOGLE_OAUTH2_CLIENT_ID / GOOGLE_OAUTH2_CLIENT_SECRET ne sont pas définis. URL de callback à déclarer côté Google : https://<hôte>/accounts/google/login/callback/.mandatory par défaut (config/settings.py), none dans config/pi_settings.py (pas de SMTP sur l'instance de référence).Prérequis : Python 3.12+, Poetry, PostgreSQL.
git clone [email protected]:stan-kempachi/recovr_software.git
cd recovr_software
poetry install
cp .env.example .env # puis renseigner SECRET_KEY et DB_*
poetry run pre-commit install
poetry run python manage.py migrate
poetry run python manage.py createsuperuser
poetry run python manage.py runserver
Tests et qualité :
poetry run pytest
poetry run pre-commit run --all-files
Les tests utilisent
tests/config/settings_test.py(PostgreSQLrecovr_testpar défaut). Pour les lancer sans PostgreSQL :DB_ENGINE=django.db.backends.sqlite3 DB_NAME=:memory: poetry run pytest --create-db --no-migrations. La CI GitHub Actions (.github/workflows/ci.yml) exécute black / ruff / isort puis les 84 tests sur PostgreSQL 16.
| Fichier | Usage |
|---|---|
config/settings.py | Base commune (lit .env via python-dotenv) |
config/pi_settings.py | Déploiement de la démo : DEBUG=False, whitenoise, Google OAuth2 optionnel, hôte via PUBLIC_HOST |
tests/config/settings_test.py | Tests |
Variables d'environnement principales : SECRET_KEY, DEBUG, ALLOWED_HOSTS, DB_ENGINE, DB_NAME, DB_USER, DB_PASSWORD, DB_HOST, DB_PORT, PUBLIC_HOST, GOOGLE_OAUTH2_CLIENT_ID, GOOGLE_OAUTH2_CLIENT_SECRET.
L'application se déploie comme n'importe quel projet Django : variables d'environnement (voir ci-dessus), migrate, collectstatic, puis gunicorn derrière un reverse proxy TLS. config/pi_settings.py est l'exemple utilisé pour la démo (whitenoise pour les statiques, Google OAuth2 optionnel). Endpoint de santé : GET /health/. Un timer système lance manage.py invoices_check chaque matin.
Le projet suit les conventional commits ; python-semantic-release en déduit la version et le CHANGELOG.md.
| Type | Impact version |
|---|---|
feat | mineure |
fix, perf | patch |
docs, style, refactor, test, build, ci, chore, revert | aucun |
poetry run semantic-release version --no-push
api_connectors) — #1compliance) — #3Code source publié à titre de portfolio. Tous droits réservés — voir LICENSE.