Buchungssystem – Übersicht
Version: 1.0.0 | Status: DRAFT | Updated: 2026-04-22
Buchungsflow
sequenceDiagram
actor Gast
participant Frontend as SvelteKit Frontend
participant Graph as MS Graph Bookings API
participant Stripe as Stripe
participant REWE as REWE Concierge
Gast->>Frontend: Datum + Extras wählen
Frontend->>Graph: GET /calendarView (Verfügbarkeit)
Graph-->>Frontend: Gebuchte Zeiträume
Gast->>Frontend: Buchung bestätigen
Frontend->>Graph: POST /appointments
Graph-->>Frontend: Appointment ID
Frontend->>Stripe: Zahlung initiieren
Stripe-->>Frontend: Payment Intent confirmed
Frontend->>Graph: PATCH /appointments/{id} (paymentStatus: paid)
Frontend->>REWE: POST /concierge/order (optional)
REWE-->>Frontend: Order confirmed
Frontend-->>Gast: Bestätigungsseite
Komponenten
| Komponente | Technologie | Status |
|---|---|---|
| Verfügbarkeitskalender | MS Graph calendarView | ✅ Mock |
| Buchung erstellen | MS Graph POST /appointments | ✅ Mock |
| Zahlung | Stripe Payment Intents | 📋 Geplant |
| Buchung bestätigen | MS Graph PATCH | ✅ Mock |
| Grocery Concierge | REWE API / Mock | ✅ Mock |