Files
MyClub/frontend/.env.example
T
2025-10-24 16:28:31 +02:00

30 lines
1.2 KiB
Bash

REACT_APP_API_URL=/api/v1
# Alternatively, you can set only the backend origin and the app will auto-append /api/v1
# REACT_APP_API_BASE_URL=https://api.example.com
# Optional: force assets (uploads, dist) to a specific domain (e.g., files.tdvorak.dev)
# REACT_APP_ASSET_BASE_URL=https://files.example.com
REACT_APP_NAME=Fotbal Club Manager
REACT_APP_ENV=development
# FACR API Configuration - Local instance
# Backend exposes the FACR proxy under /api/v1/facr
REACT_APP_FACR_API_BASE_URL=/api/v1/facr
REACT_APP_FACR_API_TIMEOUT=5000 # 5 seconds
REACT_APP_FACR_CACHE_TTL=3600000 # 1 hour in milliseconds
# Club selection for homepage (required)
# Example: Sparta Praha UUID
# REACT_APP_FACR_CLUB_ID=00000000-0000-0000-0000-000000000000
# football | futsal (default football)
# REACT_APP_FACR_CLUB_TYPE=football
# Homepage Layout Configuration
# Options: 'sparta' (premium layout) or 'classic' (default layout)
REACT_APP_HOMEPAGE_LAYOUT=classic
# Mapy.cz REST API Key (used for place suggestions on Admin Activities)
# Get a key at: https://developer.mapy.com/my-account/project-and-api-keys/
# The key is sent in header X-Mapy-Api-Key
# Example:
# REACT_APP_MAPY_API_KEY=your_mapy_cz_api_key_here