Honeycomb Restaurant Management
The JSON file should contain an array of menu items with the following structure:
| Property | Description | Required |
|---|---|---|
| name | Item name | Yes |
| description | Item description | No |
| section | Menu section (e.g., "Appetizers", "Main Courses") | No |
| price_cents | Price in cents (e.g., 1295 for $12.95) | No |
| image | URL to the item's image | No |
| allergens | Array of allergens | No |
| modifiable | Array of modifiable ingredients | No |
| fat | Fat content (in grams) | No |
| protein | Protein content (in grams) | No |
| carbs | Carbohydrate content (in grams) | No |
| calories | Calorie content | No |
[
{
"name": "Classic Burger",
"description": "Juicy beef patty with lettuce and tomato",
"section": "Burgers",
"price_cents": 1295,
"image": "https://example.com/images/classic-burger.jpg",
"allergens": ["Gluten"],
"modifiable": ["Cheese", "Onions"],
"fat": 24,
"protein": 35,
"carbs": 45,
"calories": 550
},
{
"name": "Veggie Burger",
"description": "Plant-based patty with avocado",
"section": "Burgers",
"price_cents": 1195,
"image": "https://example.com/images/veggie-burger.jpg",
"allergens": ["Gluten"],
"modifiable": ["Cheese", "Onions"],
"fat": 18,
"protein": 12,
"carbs": 52,
"calories": 420
}
]
Here's an example of a properly formatted JSON file:
[
{
"name": "Classic Burger",
"description": "Juicy beef patty with lettuce and tomato",
"section": "Burgers",
"price_cents": 1295,
"image": "https://example.com/images/classic-burger.jpg",
"allergens": ["Gluten"],
"modifiable": ["Cheese", "Onions"],
"fat": 24,
"protein": 35,
"carbs": 45,
"calories": 550
},
{
"name": "Veggie Burger",
"description": "Plant-based patty with avocado",
"section": "Burgers",
"price_cents": 1195,
"image": "https://example.com/images/veggie-burger.jpg",
"allergens": ["Gluten"],
"modifiable": ["Cheese", "Onions"],
"fat": 18,
"protein": 12,
"carbs": 52,
"calories": 420
},
{
"name": "Caesar Salad",
"description": "Romaine lettuce with parmesan and croutons",
"section": "Salads",
"price_cents": 995,
"image": "https://example.com/images/caesar-salad.jpg",
"allergens": ["Gluten", "Dairy"],
"modifiable": ["Cheese"],
"fat": 12,
"protein": 8,
"carbs": 15,
"calories": 320
},
{
"name": "French Fries",
"description": "Crispy golden fries",
"section": "Sides",
"price_cents": 495,
"image": "https://example.com/images/french-fries.jpg",
"allergens": ["Gluten"],
"modifiable": [],
"fat": 16,
"protein": 3,
"carbs": 45,
"calories": 365
},
{
"name": "Chocolate Milkshake",
"description": "Rich and creamy chocolate shake",
"section": "Drinks",
"price_cents": 595,
"image": "https://example.com/images/chocolate-milkshake.jpg",
"allergens": ["Dairy"],
"modifiable": [],
"fat": 18,
"protein": 9,
"carbs": 67,
"calories": 520
},
{
"name": "Grilled Chicken Sandwich",
"description": "Grilled chicken breast with lettuce and mayo",
"section": "Sandwiches",
"price_cents": 1395,
"image": "https://example.com/images/grilled-chicken-sandwich.jpg",
"allergens": ["Gluten"],
"modifiable": ["Cheese", "Onions"],
"fat": 16,
"protein": 28,
"carbs": 38,
"calories": 450
},
{
"name": "Onion Rings",
"description": "Crispy battered onion rings",
"section": "Sides",
"price_cents": 595,
"image": "https://example.com/images/onion-rings.jpg",
"allergens": ["Gluten"],
"modifiable": [],
"fat": 22,
"protein": 5,
"carbs": 40,
"calories": 410
},
{
"name": "Iced Tea",
"description": "Freshly brewed unsweetened tea",
"section": "Drinks",
"price_cents": 295,
"image": "https://example.com/images/iced-tea.jpg",
"allergens": [],
"modifiable": [],
"fat": 0,
"protein": 0,
"carbs": 0,
"calories": 0
},
{
"name": "Cheesecake",
"description": "New York style cheesecake",
"section": "Desserts",
"price_cents": 795,
"image": "https://example.com/images/cheesecake.jpg",
"allergens": ["Gluten", "Dairy"],
"modifiable": [],
"fat": 32,
"protein": 7,
"carbs": 45,
"calories": 560
},
{
"name": "Garden Salad",
"description": "Mixed greens with cucumber and tomato",
"section": "Salads",
"price_cents": 895,
"image": "https://example.com/images/garden-salad.jpg",
"allergens": [],
"modifiable": ["Cheese"],
"fat": 5,
"protein": 3,
"carbs": 10,
"calories": 120
}
]
You can download this example and modify it for your restaurant.
Use this form to delete a restaurant and all its associated menu items from the database.