/SuggestACocktail

Given a list of ingredients, you get a list of suggestions of what cocktail you can make with those ingredients.

Primary LanguagePythonThe UnlicenseUnlicense

SuggestACocktail

Given a list of ingredients, you get a list of suggestions of what cocktail you can make with those ingredients.

Tests

What cocktail can I make

Description

As a cocktail drinker who is too lazy to go to the shops in search of ingredients, I want to know what cocktails I can make with the ingredients I have at home - so that I can enjoy a beverage without having to leave the house.

Technical Description

• Input: The application can be invoked with a comma separated list of ingredients the user currently has in stock.

• Output: A list of cocktail names that can be made using the provided ingredients, one per line. Not all of the specified ingredients must be used, but each cocktail must only have ingredients from the list. The output may include additional information that would be useful to the user.

Instructions

  • Fork this repository
  • Clone your forked repository
  • Navigate to src/cocktail, run 'cocktails.py' file
  • If you want to run the tests for this application, navigate to the tests folder and run 'pytest test_cocktails.py' (assuming you have PyTest installed).