Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVP - Cocktails API #2

Closed
4 tasks done
PrimalOrB opened this issue Mar 31, 2021 · 4 comments
Closed
4 tasks done

MVP - Cocktails API #2

PrimalOrB opened this issue Mar 31, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request mvp Required for minimum viable product (mvp)
Milestone

Comments

@PrimalOrB
Copy link
Owner

PrimalOrB commented Mar 31, 2021

For our MVP, we want to be able to:

  • Retrieve a random cocktail
  • Retrieve the photo of the cocktail
  • Retrieve the ingredients / recipe for the cocktail
  • Retrieve the ingredient images for the recipe

This work can happen before HTML hooks are known for display

@PrimalOrB PrimalOrB changed the title Cocktails API MVP MVP - Cocktails API Mar 31, 2021
@PrimalOrB PrimalOrB added enhancement New feature or request mvp Required for minimum viable product (mvp) labels Mar 31, 2021
@PrimalOrB PrimalOrB added this to the MVP milestone Mar 31, 2021
@PrimalOrB
Copy link
Owner Author

Related acceptance criteria as per Project overview

  • Use at least two server-side APIs.

@PrimalOrB
Copy link
Owner Author

https://www.thecocktaildb.com/api.php

Description

we can use the test API key '1' for educational purposes

  • can search by: |
    *  cocktail name
    *  cocktail first letter
      *  ingredient name (this is where we could maybe pick some themed ingredients for the monthly themes, like color)
      *  lookup cocktail details by id
    *  lookup ingredients by id
    *  look up random cocktail (probably where we start)
    *  search by ingredient
    *  filter by alcoholic / non alcoholic
      *  search by category
      *  filter by glass
      *  images / thumbnails

Random Cocktail Example:

https://www.thecocktaildb.com/api/json/v1/1/random.php
( store drink ID for looking up recipe, ingredients, images, etc)

@MarilynPapadopoulos
Copy link
Collaborator

I suggest we use the "search by ingredient". Add a field in the form that allows the user to choose a base alcohol for the cocktail. Then choose a random cocktail associated with that base alcohol. This is also accompanied by an image
https://www.thecocktaildb.com/api/json/v1/1/filter.php?i=Gin

@PrimalOrB
Copy link
Owner Author

PrimalOrB commented Mar 31, 2021

In my mind for the MVP version, simply displaying a random cocktail would be sufficient, rather than worrying about the query parameters. That really is the core functionality if considering a story like

WHEN the page loads
THEN I am presented with a drink

Certainly in the Additional feature sets, adding more power to the search would be the plan.

Thoughts? I agree - Marilyn

@Mantablast Mantablast self-assigned this Apr 1, 2021
@Mantablast Mantablast reopened this Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mvp Required for minimum viable product (mvp)
Projects
None yet
Development

No branches or pull requests

3 participants