feat(frontend): setup frontend foundation

- Install dependencies: date-fns, @vite-pwa/sveltekit, workbox-window
- Configure Vite with PWA support and manifest
- Update SvelteKit config for static adapter with fallback
- Create environment files (.env, .env.example, .env.production)
- Create directory structure for lib, components, routes
- Add JSDoc type definitions for Task, User, AuthTokens, etc.
- Add utility functions: storage (localStorage wrapper), uuid, dates, sync-queue
- Configure PWA with icons, theme colors, and caching strategies
This commit is contained in:
2026-01-06 15:43:39 +01:00
parent 4eb18388db
commit 41795d1827
10 changed files with 1071 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
# API Configuration
VITE_API_URL=https://opal.example.com/api
VITE_AUTH_URL=https://auth.example.com
# OAuth
VITE_OAUTH_ENABLED=true