Tech Stack

Version: 1.0.0 | Status: DRAFT | Updated: 2026-04-22


Übersicht

┌─────────────────────────────────────────┐
│           Cloudflare Pages              │
│         (Static Hosting / CDN)          │
└─────────────┬───────────────────────────┘
              │
┌─────────────▼───────────────────────────┐
│          SvelteKit (SSG/SSR)            │
│          TypeScript + Vite              │
└──────┬──────────────────┬───────────────┘
       │                  │
┌──────▼──────┐    ┌──────▼──────┐
│  MS Graph   │    │  REWE API   │
│  Bookings   │    │  Concierge  │
│  (Mock→Prod)│    │  (Mock→Prod)│
└─────────────┘    └─────────────┘

Packages

Package Version Zweck
@sveltejs/kit ^2.0 Framework
@sveltejs/adapter-cloudflare ^4.0 Cloudflare Pages Adapter
svelte ^5.0 UI Framework
typescript ^5.0 Type Safety
vite ^6.0 Build Tool

Umgebungsvariablen (Produktion)

PUBLIC_MS_GRAPH_CLIENT_ID=<Azure App Registration>
PUBLIC_MS_GRAPH_TENANT_ID=<Azure Tenant>
PUBLIC_BOOKING_BUSINESS_ID=<MS Bookings Business ID>
STRIPE_SECRET_KEY=<Stripe Secret>
PUBLIC_STRIPE_PUBLISHABLE_KEY=<Stripe Public>

!!! warning "Sicherheit" STRIPE_SECRET_KEY niemals ins Frontend – nur serverseitig in Cloudflare Workers/Functions verwenden.