Refactor: enhance API response schemas for pagination; update environment variables for Supabase and Vision API; improve Vite configuration for proxy routing

This commit is contained in:
salirezav
2025-08-12 13:48:17 -04:00
parent 7a939920fa
commit 62dd0d162b
9 changed files with 57 additions and 35 deletions

View File

@@ -1,10 +1,10 @@
# Environment Configuration for Pecan Experiments Application
# USDA Vision Camera System API Configuration
# Default: http://localhost:8000 (current working setup)
# For localhost setup, use: http://localhost:8000
# For remote systems, use: http://192.168.1.100:8000 (replace with actual IP)
VITE_VISION_API_URL=http://localhost:8000
# Recommended default: use a relative path so the dev server proxy routes to the API container
# Leave unset to default to "/api" (see vite.config.ts proxy)
# To override and point directly, set e.g.:
# VITE_VISION_API_URL=http://vm-host-or-ip:8000
# Supabase Configuration (if needed for production)
# VITE_SUPABASE_URL=your_supabase_url