🎨 New Features:
- Added QR code preview section in statistics page
- Integrated PNG and SVG download buttons
- Responsive design for mobile devices
- Automatic QR code loading for the current page
🔧 Technical Details:
- Added QR preview container with loading states
- Implemented downloadQRCode() function for both formats
- Enhanced mobile responsiveness for QR preview section
- Connected to existing /api/download endpoints
📱 UI Improvements:
- Clean preview with bordered QR code image
- Intuitive download buttons with icons
- Loading indicator while fetching QR code
- Error handling for missing QR codes
This completes the admin statistics dashboard with full QR code management capabilities.
- Added detailed explanations for each configuration section
- Documented port mapping and volume mount purposes
- Explained environment variables and health check settings
- Clarified network configuration and container management
- Improved readability for deployment and maintenance
- Changed qr.moto-adv.com to [your-domain] throughout documentation
- Made documentation more generic and reusable for any deployment
- Updated Nginx configuration examples with placeholder domain
- Standardized domain references in all configuration sections
- Added environment variable loading with python-dotenv
- Fixed Docker session permissions by using /tmp directory
- Updated .dockerignore to include .env file properly
- Enhanced docker-compose.yml with env_file directive
- Fixed Gunicorn configuration for Docker compatibility
- Updated README.md with comprehensive deployment docs
- Cleaned up debug logging from API routes
- Added DOMAIN_SETUP.md for reverse proxy guidance
- All production issues resolved and tested working
- Application now accessible at qr.moto-adv.com
- Removed old app.py (replaced by main.py + app/ package)
- Removed old static/ and templates/ directories (moved to app/)
- Removed test files and extra documentation
- Maintain clean root directory with only essential files
- New structure: main.py as entry point, app/ package with modular design