Systeem Architectuur
Overzicht
De DPP infrastructuur bestaat uit meerdere services die samenwerken voor AI-gedreven recruitment en opdrachten matching.
┌─────────────────────┐
│ Cloudflare CDN │
└──────────┬──────────┘
│
┌─────────────────────────────┼─────────────────────────────┐
│ │ │
▼ ▼ ▼
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ DPP Cockpit │ │ AI Router │ │ LLM Proxy │
│ Pages + D1 │ │ Workers + D1 │ │ Self-hosted │
└───────┬───────┘ └───────┬───────┘ └───────────────┘
│ │
└─────────┬─────────────────┘
│
▼
┌─────────────────┐
│ Supabase │
│ PostgreSQL+pgv │
└─────────────────┘
│
┌─────────┴─────────┐
│ │
▼ ▼
┌───────────────┐ ┌───────────────┐
│ Flowlu │ │ Activepieces │
│ CRM │ │ Automation │
└───────────────┘ └───────────────┘Hoofdcomponenten
| Component | Functie | Hosting |
|---|---|---|
| DPP Cockpit | Opdrachten matching, kandidatenbeheer | Cloudflare Pages |
| AI Router | Multi-provider AI routing, RAG | Cloudflare Workers |
| LLM Proxy | OpenAI-compatible proxy | Self-hosted |
| Knowledge Base | Documentatie, vector search | Cloudflare Pages |
| Supabase | Database, storage, pgvector | Supabase Cloud |
| Flowlu | CRM, projectmanagement | Flowlu Cloud |
| Activepieces | Workflow automation | Self-hosted |
Datastromen
- Scraper Pipeline: DAS bronnen → Activepieces → Supabase → Cockpit
- AI Requests: Client → AI Router → Provider (OpenAI/Anthropic/Groq) → Client
- Matching: Cockpit → AI Router (embeddings) → Supabase (pgvector) → Cockpit
- CRM Sync: Cockpit ↔ Flowlu API
Authenticatie
| Service | Methode |
|---|---|
| Cockpit, KB, AI Router Admin | Google OAuth (@depubliekepartner.nl) |
| AI Router API | Bearer token |
| Flowlu | API Key (query param) |
| Supabase | Service Role Key |
Gerelateerde Documentatie
- Endpoints Overzicht - Volledige endpoint inventaris
- Data Model - Database schema
- API Documentatie - API referentie