- Fixed LoginPage.js to use correct API endpoint (localhost:8000) - Fixed prop naming (onLoginSuccess → onLogin) - Fixed data structure mapping (voter.email → email, etc) - Removed duplicate src/ folder structure - Updated DashboardPage.js with proper API endpoints - Added lucide-react dependency - Fixed docker-compose and Dockerfile.backend for proper execution - Cleaned up console logs - System fully working with Docker deployment
10 lines
184 B
Plaintext
10 lines
184 B
Plaintext
# Backend API Configuration
|
|
REACT_APP_API_URL=http://localhost:8000
|
|
|
|
# Environment
|
|
REACT_APP_ENV=development
|
|
|
|
# Feature Flags
|
|
REACT_APP_ENABLE_MOCK_API=false
|
|
REACT_APP_DEBUG_MODE=true
|