Configuration - Web
Environment variables and configuration for the SvelteKit app in web/.
Overview
The web (Vite + SvelteKit) is configured from:
- web/.env.* environment files (Vite reads these at build/dev time)
- web/src/web-config.json for PWA metadata
Any change to environment values requires restarting your dev server or rebuilding the web app so Vite can pick up the new settings.
Common setup steps
Configure your web env files
Copy web/.env.development.example to web/.env.development.local and fill in values (see the Environment variables guide below).
Set production env values
Maintain web/.env.production.local and set matching production values for your deployment.
Update PWA settings
Edit web/src/web-config.json to customize PWA metadata (name/title/description/theme, and icon references).
Guides
Environment variables
VITE_* values for API/Supabase/Stripe/analytics
PWA configuration
Edit web-config.json for app name and icon metadata
For the full checklist, see the repository README (Frontend Setup).