Spaces:
Sleeping
Sleeping
metadata
title: Tabble-v3 Restaurant Management
emoji: π½οΈ
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 7860
pinned: false
license: mit
short_description: Restaurant management with QR ordering & analytics
tags:
- restaurant
- management
- fastapi
- qr-code
- ordering
- analytics
- multi-database
π½οΈ Tabble-v3 Restaurant Management System
A comprehensive restaurant management system built with FastAPI and modern web technologies, featuring QR code-based table ordering, real-time order management, and multi-database support for independent hotel operations.
π Live Demo
This application is deployed on Hugging Face Spaces with Docker. Try all the features:
- π Home Interface: Complete system overview
- π₯ Customer Ordering: QR code-based table ordering system
- π¨βπ³ Chef Dashboard: Real-time kitchen order management
- π¨ Admin Panel: Complete restaurant control and analytics
π Demo Credentials
- Hotel Access Code:
myhotel
- Demo Database:
tabble_new.db
- Table Numbers: 1-20
- Phone OTP: Any 6 digits (demo mode)
β¨ Key Features
π½οΈ Customer Experience
- QR Code Ordering: Scan table QR codes for instant menu access
- Phone OTP Authentication: Secure Firebase-based login
- Real-time Cart: Live cart updates with special offers
- Payment Integration: Secure payment processing with loyalty discounts
- Order History: Track past orders and preferences
π¨βπ³ Kitchen Operations
- Real-time Notifications: Instant order alerts for chefs
- Order Management: Accept, prepare, and complete orders
- Status Updates: Live status changes across all interfaces
- Kitchen Analytics: Track preparation times and efficiency
π¨ Restaurant Management
- Multi-Database Support: Independent hotel operations
- Complete Admin Panel: Full restaurant control
- Menu Management: Add, edit, and manage dishes with images
- Analytics Dashboard: Customer behavior and sales insights
- Loyalty Programs: Configurable visit-based discounts
- Table Management: Monitor occupancy and status
π οΈ Technology Stack
- Backend: FastAPI 0.104.1 with Python 3.11
- Database: SQLite with SQLAlchemy ORM
- Authentication: Firebase Admin SDK
- Templates: Jinja2 with Bootstrap 5
- Deployment: Docker on Hugging Face Spaces
- Architecture: RESTful API with middleware patterns
π§ Quick Start
Using the Demo
- Access the Application: Visit the Hugging Face Spaces URL
- Choose Interface: Select Customer, Chef, or Admin from the home page
- Customer Login: Use hotel code
myhotel
and any table number - Explore Features: Try ordering, kitchen management, or admin controls
Local Development
# Clone the repository
git clone <repository-url>
cd tabble-v3
# Install dependencies
pip install -r requirements.txt
# Run locally
python run.py
π± Interface Guide
Customer Interface (/customer
)
- Select hotel and enter access code
- Choose table number
- Enter phone number for OTP verification
- Browse menu and place orders
- Track order status in real-time
Chef Dashboard (/chef
)
- View live order notifications
- Accept and manage incoming orders
- Update order status (cooking, ready, completed)
- Monitor kitchen performance metrics
Admin Panel (/admin
)
- Complete restaurant management
- Add and edit menu items
- Configure pricing and offers
- View analytics and reports
- Manage hotel settings
ποΈ Multi-Database Architecture
Each hotel operates with its own SQLite database:
βββ tabble_new.db # Demo hotel database
βββ your_hotel.db # Your hotel database
βββ another_hotel.db # Additional hotel database
Features:
- Complete data isolation between hotels
- Independent menu and pricing
- Separate customer databases
- Individual analytics and reports
π Security Features
- Firebase Authentication: Secure phone OTP verification
- Database Protection: Password-protected hotel access
- Session Management: Secure session handling
- CORS Configuration: Properly configured for web access
- Data Isolation: Complete separation between hotel data
π Analytics & Reporting
- Customer Analytics: Behavior insights and visit patterns
- Sales Reports: Revenue tracking and trends
- Dish Performance: Menu item popularity metrics
- Kitchen Efficiency: Order processing analytics
- Custom Reports: PDF generation for business intelligence
π― Use Cases
Small Restaurants
- Single database operation
- QR code table ordering
- Basic order management
- Customer analytics
Hotel Chains
- Multi-database architecture
- Independent hotel operations
- Centralized management
- Brand consistency
Food Courts
- Multiple vendor support
- Shared customer interface
- Individual kitchen dashboards
- Unified payment processing
π Deployment
This application is containerized with Docker and optimized for Hugging Face Spaces:
- Port: 7860 (Hugging Face Spaces standard)
- Build: Automatic Docker build from repository
- Environment: Python 3.11-slim with all dependencies
- Database: Auto-initialized with demo data
π API Documentation
Once deployed, explore the interactive API documentation:
- Swagger UI:
/docs
- ReDoc:
/redoc
- Health Check:
/health
π€ Contributing
This is an open-source project. Contributions are welcome!
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Links
- Documentation: Comprehensive API docs available at
/docs
- GitHub: Repository with full source code
- Demo: Live demo with sample data
- Support: Issues and discussions on GitHub
Ready to transform your restaurant operations? Start exploring the demo now! ππ½οΈ