🍽️ Smart Restaurant Menu Webhook

Transform your restaurant experience with interactive QR code menus! Node.js webhook providing detailed dish information and personalized dining experiences.

Node.js Express JSON
Configure Webhook Full Documentation

Key Features

  • Interactive Menus - Detailed dish information with ingredients and nutrition
  • QR Code Types - Table menus, individual dishes, categories, and specials
  • Allergen Alerts - Clear allergen and dietary information
  • Nutritional Info - Calories, macros, and dietary classifications
  • Multilingual Ready - Easy to extend for multiple languages
  • Daily Specials - Dynamic special offers and promotions
  • Server Integration - Table assignments and service information
  • Mobile Optimized - Perfect for smartphone scanning

QR Code Types

📍 Table Codes: TABLE_XX

Show table-specific welcome and menu overview with today's specials and server information.

🍽️ Dish Codes: DISH_XXX

Detailed dish information including ingredients, allergens, nutrition, and preparation time.

📋 Category Codes: CAT_XXXXX

Category menu listings with all dishes in appetizers, mains, desserts, etc.

⭐ Special Codes: SPECIAL_XXX

Special offers and promotions with pricing, conditions, and validity periods.

Dietary Classifications

The system supports comprehensive dietary indicators:

🥬 Vegetarian - No meat or fish
🌱 Vegan - No animal products
🚫🌾 Gluten-Free - No gluten-containing ingredients
🚫🥛 Dairy-Free - No dairy products
🥑 Keto - Low-carb, high-fat
🥗 Low-Carb - Reduced carbohydrate content
🌶️ Spice Level System

Rate dishes from 1-5 chili peppers:

Usage Examples

📍 Table Menu (TABLE_05)

🍽️ Bella Vista Restaurant 📍 Table 5 Welcome to Bella Vista! Scan dish QR codes for detailed information. ⭐ Today's Specials: • Happy Hour Special - $15.99 📱 Scan dish QR codes for details 🔔 Call server: Press button on table 💳 Payment: Card/Cash/Mobile 👨‍🍳 Your server: Sarah

🍽️ Detailed Dish (DISH_101)

🍽️ Grilled Salmon 💰 Price: $24.99 ⏱️ Prep time: 20-25 min 📝 Fresh Atlantic salmon with seasonal vegetables 🥘 Ingredients: Salmon, Asparagus, Lemon, Herbs ⚠️ Allergens: Fish 📊 Nutrition (per serving): • Calories: 420 • Protein: 35g • Carbs: 8g • Fat: 28g 🏷️ Dietary: 🚫🌾 gluten-free 🥑 keto ✅ Available now

⭐ Special Offer (SPECIAL_001)

⭐ Happy Hour Special 💰 Special Price: $15.99 (Save $7.00!) 📝 Any appetizer + drink combo ⏰ Valid until: 2024-12-31 📋 Conditions: Available 4-6 PM weekdays 🍽️ Includes: • Choice of appetizer • House wine or beer

Quick Start

1. Installation

# Install dependencies npm install # Copy environment configuration cp .env.example .env

2. Configuration

Edit .env file with your settings:

PORT=3001 RESTAURANT_NAME="Your Restaurant Name" CURRENCY=USD TIMEZONE=America/New_York

3. Customize Menu Data

Edit menu-data.json and restaurant-config.json with your actual menu items, or let the system create sample data on first run.

4. Start the Server

# Production npm start # Development (with auto-reload) npm run dev
Note: The system includes sample menu data for immediate testing. Customize the JSON files with your actual menu.

Menu Data Structure

🍽️ Dish Object Example
{ "id": "001", "name": "Grilled Salmon", "price": "24.99", "description": "Fresh Atlantic salmon with seasonal vegetables", "ingredients": ["Salmon", "Asparagus", "Lemon", "Herbs"], "allergens": ["Fish"], "prepTime": "20-25", "available": true, "dietary": ["gluten-free", "keto"], "spiceLevel": 0, "nutrition": { "calories": 420, "protein": 35, "carbs": 8, "fat": 28 } }
📋 Category Structure
{ "appetizers": { "name": "Appetizers", "description": "Start your meal with our delicious appetizers", "dishes": [...] } }

API Endpoints

Webhook Endpoint
  • POST /webhook - Main AllCodeRelay webhook
  • Body: {"code": "TABLE_01"}
Admin Endpoints
  • GET /admin/menu - Get complete menu data
  • POST /admin/menu/reload - Reload menu from files
Utility Endpoints
  • GET /health - Health check and status
Health Check Response
{ "status": "ok", "restaurant": "Bella Vista Restaurant", "menuItems": 5, "timestamp": "2024-12-15T10:30:00.000Z" }

Files Included

Core Files
  • restaurant-menu-webhook.js - Main webhook script
  • restaurant-package.json - Node.js dependencies
  • .env.example - Environment configuration
  • restaurant-menu-README.md - Complete documentation
Features
  • Sample menu data included
  • Configurable restaurant settings
  • Dynamic menu updates
  • Production-ready with PM2 support

Get Started

Ready to create an interactive restaurant menu with AllCodeRelay?

Download Webhook Script Download Package.json Download Config Template View Full Documentation
Back to Gallery Main Site