Les meilleurs développeurs informatique freelances sont sur Codeur.com
Fermé · 500 € à 1 000 € · 20 offres · 893 vues · 11 interactions
Salut
Voici les specs complètes pour le backend POLI: APIs sécurisées, FastAPI/Python, intégration realtime pour dashboard trading/investissements halal. Basé sur l'artefact existant (app.py optimisé) + besoins realtime/prop firms.[1]
## Architecture backend
Utilise FastAPI + SQLAlchemy (SQLite dev → PostgreSQL prod via Supabase/Prisma).
- Endpoints CRUD pour: users, portfolios, trades, ethical_assets.
- Realtime: WebSockets pour prix live (Binance/CoinGecko), PnL updates.
- Auth: JWT/OAuth2 (Google + prop firms: Topstep/GK).
## APIs à implémenter
| Endpoint | Méthode | Description | Sécurité |
|----------|---------|-------------|----------|
| `/api/auth/login` | POST | Login user + JWT token | bcrypt hash pw |
| `/api/portfolio` | GET/POST | Liste/ajout positions halal | JWT required |
| `/api/trades` | GET/POST | Sync trades prop firms | OAuth broker |
| `/api/ethical/filter` | GET | Filtres halal/ESG realtime | Rate limit |
| `/ws/live-prices` | WS | Stream prix crypto/futures | JWT handshake |
## Sécurité & compliance
- **Auth**: JWT expiry 24h, refresh tokens, role-based (user/admin).
- **Data**: HTTPS only, CORS Vercel, input validation (Pydantic), SQL injection safe.
- **Halal**: API Sustainalytics pour scores auto, blacklist secteurs haram.
- **Swiss regs**: AVS/LPP logging anonymisé, GDPR consent pour trades.
## Setup & deploy
1. `pip install fastapi uvicorn sqlalchemy pydantic python-jose[cryptography]`.
2. Config `.env`: DB_URL, JWT_SECRET, API_KEYS (brokers).
3. Run: `uvicorn app.main:app --reload`.
4. Deploy: Render/Heroku/Vercel (Docker), avec CI GitHub Actions.
## Tests & docs
- Unit tests pytest (90% coverage: auth, APIs).
- Swagger auto (/docs), Postman collection.
- Monitoring: Sentry errors, Prometheus metrics PnL.
Livrable: Repo backend séparé, connecté frontend React. PR d'ici 25/01/2026 + deploy staging. Ping pour clarifs ! 🚀[2][3]
Sources
[1] 1. Nettoyer/optimiser le code existant
2. Ajouter des charts (TradingView, PnL curves)
3. Connecter APIs live (données marchés, brokers) [URL visible pour les membres Pro]
[2] Comment communiquer et se faire comprendre par ses ... [URL visible pour les membres Pro]
[3] Au vu de ce que j’ai déjà et des manquement il me faut quoi la [URL visible pour les membres Pro]
Budget indicatif : 500 € à 1 000 €
Publication : 14 janvier 2026 à 14h54
Profils recherchés : Développeur spécifique freelance , Développeur Python freelance , Développeur back-end freelance , Développeur API freelance
20 freelances ont répondu à ce projet
13 propositions de devis en moins de 2h
Montant moyen des devis proposés : 2 250 €
Estimation du délai : 6 jours