E-Voting Developer 839ca5461c Fix: Login system and clean up duplicate src/ folder
- 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
2025-11-05 23:25:43 +01:00

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