API for finding information about you favorive alcoholic beverages!😎 (not only beer!)
- The poject was originally written in nodejs, but I decided to start learning glo and thought this was a good place to start exploring!
If you don't know graphql playground is a great place to try out some queries straight from you favorite browser. Give it a shot!
This endpoint is used by all of the queries. You should read the official graphql documentation on more information about the technology if it's new for you! Graphal docs
https://oluet-api.xyz/query
If you are not yet familiar with graphql you are going to love the playground! There is no need to use tools like Postman with graphql since you can test your queries straight from the playground! You should also see the docs for playground to utilize it's full potential! Graphal playground docs
https://oluet-api.xyz/graphql
You can experiment with these at the playground!
query {
drinks {
nimi
date
productID
hinta
tyyppi
}
}
query {
beers {
nimi
date
olutTyyppi
hinta
tyyppi
}
}
query {
beersearch(term: "karhu") {
nimi
date
valmistaja
huomautus
olutTyyppi
hinta
tyyppi
}
}
query {
pricehistory(productID:"792176") {
hinta
date
}
}
- maybe make a separate type for olut