feat: add recipe and OpenFoodFacts search to nutrition food search

Recipes from /rezepte now appear in the food search on /fitness/nutrition,
with per-100g nutrition computed server-side from ingredient mappings.
Recipe results are boosted above BLS/USDA/OFF in search ranking.

OpenFoodFacts products are now searchable by name/brand via MongoDB
text index, alongside the existing barcode lookup.

Recipe and OFF queries run in parallel with in-memory BLS/USDA scans.
This commit is contained in:
2026-04-06 13:21:19 +02:00
parent 201847400e
commit d10946774d
4 changed files with 178 additions and 6 deletions

2
src-tauri/Cargo.lock generated
View File

@@ -144,7 +144,7 @@ dependencies = [
[[package]]
name = "bocken"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"serde",
"serde_json",