bar-assistant
bar-assistant copied to clipboard
Add percentage of matched ingredients
What:
Add to the recipes the ingrendient match percentage with the shelved ingredients. For instance if the cocktail requires 3 ingredients and the user has 2 of those shelved, show 66% ingredient match
Why: In many cases if the user has 80% of the ingrendients shelved, he might want to see the recipes he can "almost" make in order create some variations, or he can create the cocktail since he owns a similar ingredient. For instance, he might own Pisco, but not Grappa.
How: For each cocktail recipe shows the percentage of ingredients that match with the ingredients shelved. Based on this info:
- allow the user to sort by ingredient match percentage
- allow the user to search by ingredient match percentage intervals (ie: min 70% ingredient match)
Similar feature is implemented in the https://www.mixelcocktails.com/
Thanks
PS: awesome project