Consumer-facing portal with mobile-first design: - scan.html: Barcode scanner with product search, health score ring animation, and healthier alternatives display - dashboard.html: User dashboard with recent scans, health trends chart, favorites grid, Connected Apps section, and settings - compare.html: Side-by-side product comparison with winner banner, nutrition breakdown, and ingredient highlights - products.json: Sample product data with scores, descriptions, and alternatives Connected Apps section lets users manage third-party integrations (Apple Health, MyFitnessPal, Google Fit, etc.) with permission controls. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
124 lines
3.2 KiB
JSON
124 lines
3.2 KiB
JSON
{
|
|
"products": [
|
|
{
|
|
"id": "p001",
|
|
"name": "Orange Juice Original",
|
|
"brand": "Tropicana",
|
|
"category": "Beverages",
|
|
"size": "52 fl oz",
|
|
"emoji": "🥤",
|
|
"score": 4.5,
|
|
"scoreDesc": "High sugar content. Consider lower-sugar options for daily use.",
|
|
"alternatives": [
|
|
{
|
|
"name": "Simply Light OJ",
|
|
"brand": "Simply · 50% less sugar",
|
|
"emoji": "🍊",
|
|
"score": 7.8
|
|
},
|
|
{
|
|
"name": "Suja Organic Green Juice",
|
|
"brand": "Suja · Cold-pressed, no added sugar",
|
|
"emoji": "🥝",
|
|
"score": 9.1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "p002",
|
|
"name": "Classic Potato Chips",
|
|
"brand": "Lay's",
|
|
"category": "Snacks",
|
|
"size": "8 oz",
|
|
"emoji": "🥔",
|
|
"score": 3.2,
|
|
"scoreDesc": "High in sodium and saturated fat. Best enjoyed occasionally.",
|
|
"alternatives": [
|
|
{
|
|
"name": "Baked Original Crackers",
|
|
"brand": "Triscuit · Whole grain, lower fat",
|
|
"emoji": "🌾",
|
|
"score": 6.5
|
|
},
|
|
{
|
|
"name": "Kale Chips Sea Salt",
|
|
"brand": "Brad's · Organic, nutrient-dense",
|
|
"emoji": "🥬",
|
|
"score": 8.9
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "p003",
|
|
"name": "Whole Grain Bread",
|
|
"brand": "Dave's Killer Bread",
|
|
"category": "Bakery",
|
|
"size": "27 oz",
|
|
"emoji": "🍞",
|
|
"score": 8.2,
|
|
"scoreDesc": "Excellent fiber and protein content. Great daily staple.",
|
|
"alternatives": [
|
|
{
|
|
"name": "Ezekiel 4:9 Sprouted Bread",
|
|
"brand": "Food for Life · No flour, sprouted grains",
|
|
"emoji": "🌿",
|
|
"score": 9.3
|
|
},
|
|
{
|
|
"name": "Ancient Grain Bread",
|
|
"brand": "Angelic Bakehouse · 7-grain blend",
|
|
"emoji": "🌾",
|
|
"score": 8.8
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "p004",
|
|
"name": "Greek Yogurt Strawberry",
|
|
"brand": "Chobani",
|
|
"category": "Dairy",
|
|
"size": "5.3 oz",
|
|
"emoji": "🫙",
|
|
"score": 7.1,
|
|
"scoreDesc": "Good protein source. Contains added sugars from fruit flavoring.",
|
|
"alternatives": [
|
|
{
|
|
"name": "Plain Greek Yogurt",
|
|
"brand": "Chobani · No added sugar, higher protein",
|
|
"emoji": "🥛",
|
|
"score": 9.0
|
|
},
|
|
{
|
|
"name": "Siggi's Vanilla Yogurt",
|
|
"brand": "Siggi's · Less sugar, Icelandic-style",
|
|
"emoji": "🫐",
|
|
"score": 8.4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "p005",
|
|
"name": "Frosted Mini-Wheats",
|
|
"brand": "Kellogg's",
|
|
"category": "Cereal",
|
|
"size": "18 oz",
|
|
"emoji": "🌾",
|
|
"score": 5.8,
|
|
"scoreDesc": "Good fiber content but has added sugar coating. Moderate choice.",
|
|
"alternatives": [
|
|
{
|
|
"name": "Original Shredded Wheat",
|
|
"brand": "Post · No added sugar, pure whole grain",
|
|
"emoji": "🌿",
|
|
"score": 9.2
|
|
},
|
|
{
|
|
"name": "Steel Cut Oats",
|
|
"brand": "Bob's Red Mill · Unprocessed, high fiber",
|
|
"emoji": "🥣",
|
|
"score": 9.5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|