GraphQL wrapper around the BreweryDB API.
Set an environmental variable of API_KEY
to your Brewerydb API key, acquired here, and run yarn start:dev
for the development version with the graphiql interface.
{
search(q: "punk ipa", type: beer) {
currentPage
data {
... on Beer {
id
name
abv
glass {
name
}
breweries {
name
}
style {
category {
name
}
}
}
}
}
}