tuanOts 9edc668441 Integrate Wedding Guest List with real API and improve UX
🔗 API Integration:
- Add weddingGuestService.js with full CRUD operations
- Connect to /api/WeddingGuests endpoint using REACT_APP_API_BASE_URL
- Implement proper error handling and fallback mechanisms
- Add detailed debug logging for troubleshooting

🎯 Features Added:
- Real-time API calls for guests, statistics, and units
- Automatic fallback to mock data if API fails
- Export Excel functionality
- Delete confirmation with API integration
- Search and filter with API parameters

🎨 UX Improvements:
- Default 'Tất cả trạng thái' and 'Tất cả đơn vị' options
- Beautiful icons for filter options (📋 🏢   )
- User-friendly error messages and warnings
- Loading states with spinners
- Success/error notifications

🔧 Technical Enhancements:
- Axios client with interceptors for auth and error handling
- Proper pagination handling
- Status mapping between API and UI
- Environment variable configuration
- Mock data structure matching API format

🚀 Production Ready:
- Complete API integration with backend
- Fallback mechanisms for reliability
- Professional error handling
- Responsive design maintained
2025-05-31 19:13:52 +07:00
..
2025-05-25 17:15:22 +07:00
2025-05-25 17:15:22 +07:00