feat: VisaWatch Maroc - Plateforme 100% opérationnelle pour le Maroc#1
feat: VisaWatch Maroc - Plateforme 100% opérationnelle pour le Maroc#1devin-ai-integration[bot] wants to merge 3 commits into
Conversation
- FastAPI backend with JWT auth, REST API, WebSocket, monitoring engine - Modular connectors for TLScontact, VFS Global, BLS International - Next.js 14 frontend with Tailwind CSS, Framer Motion, dark theme - 12 pages: dashboard, monitoring, world map, analytics, admin, and more - Docker Compose + CI/CD GitHub Actions - 6 passing backend tests Co-Authored-By: mtitech avicenne <info@wa-pharma.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
End-to-End Test ResultsRan frontend (localhost:3002) and backend (localhost:8000) locally, tested all 12 pages and API endpoints. Test Results — All 5 tests passed
Dashboard8 stats cards (247 centers, 12,847 scans, 342 slots, etc.), Scan Activity chart with tooltip, Recent Scans list (6 entries), Active Centers list (8 centers with flags). Monitoring5 monitoring alerts with toggle switches, notification channel icons, trigger counts, and delete buttons. Landing Page — Features & Pricing6 feature cards, 3 pricing plans (Free $0, Premium $9.99, Enterprise $29.99). Backend API — Swagger DocsAll endpoint groups accessible: Auth, Users, Centers, Monitoring, Analytics, Notifications, Subscriptions, Admin, Seed. Notes
|
…UI, monitoring engine - Auth: JWT login/register with real API calls, auth context provider - Frontend: Full French localization for all 12 pages (Morocco-focused) - Dashboard: Real API data (stats, centers, scans) from backend - Monitoring: CRUD alerts with real API, background scan engine - Notifications: Real SMTP email service, Telegram bot integration - TLScontact: Functional Morocco connector (9 centers) with responsible rate limiting - Seed data: All 9 Moroccan TLScontact centers with correct URLs/coords - CORS: Added localhost:3002 to allowed origins - Engine: Background monitoring loop with async workers - Map: 9 Moroccan centers with correct coordinates - Pricing: MAD currency, French plan names - Build: All lint checks pass, 12 pages compiled, 6 tests pass Co-Authored-By: mtitech avicenne <info@wa-pharma.com>
E2E Test Results — Morocco OperationalizationRan frontend (localhost:3002) + backend (localhost:8000) locally, tested all major flows end-to-end via Playwright CDP. Result: 22/22 assertions passed Core Flow: Login → Dashboard → Create Alert
Landing Page — Morocco Focus
French Localization & Key Pages
Minor Observations (Non-blocking)
|
- Monitoring page now shows tabbed view: Centres TLScontact (9 Morocco) / Mes alertes - Each center card shows name, city, status, scan count, platform link - Quick 'Surveiller' button on each center to create alert - Stats bar shows Morocco centers count, active centers, alerts, slots - Dashboard CentersList defaults to Morocco filter with toggle for all - Both pages show real-time data from API Co-Authored-By: mtitech avicenne <info@wa-pharma.com>
Test Results: Centers Visibility Fix4/4 tests passed — Tested via browser on localhost:3002 + localhost:8000 Test 1: Surveillance page shows all 9 Moroccan centers — passed
Test 2: "Surveiller" button creates alert — passed
Test 3: Dashboard shows Morocco centers with filter — passed
Test 4: Alerts tab shows details — passed
Minor Observations
|
Summary
Plateforme SaaS complète de surveillance des rendez-vous visa, 100% opérationnelle pour le Maroc avec 9 centres TLScontact.
Backend FastAPI : Auth JWT, 20+ endpoints REST, connecteurs TLScontact/VFS/BLS, moteur de monitoring async, notifications multi-canal (Email, Telegram, Discord), analytics.
Frontend Next.js 14 :
Infrastructure : Docker Compose (PostgreSQL, Redis, Backend, Frontend), CI/CD GitHub Actions.
Review & Testing Checklist for Human
docker-compose up -dpuiscurl -X POST http://localhost:8000/api/v1/seed/demo@visawatch.io/demo123456et vérifier la redirection vers /dashboardNotes
Link to Devin session: https://app.devin.ai/sessions/647b1086f7e14e2aa19b1cb5e58dacec
Requested by: @WA-PHARMA