├── .roswell-use ├── .roswell-install-list ├── .roswell-load-system-list ├── Procfile ├── cl-beers.gif ├── templates ├── _search-results.html ├── _more-beer.html ├── _beer-list.html ├── index.html ├── glossary.html ├── show.html ├── layouts │ └── default.html └── beer-svg.html ├── README.md ├── LICENSE └── app.lisp /.roswell-use: -------------------------------------------------------------------------------- 1 | sbcl-bin -------------------------------------------------------------------------------- /.roswell-install-list: -------------------------------------------------------------------------------- 1 | clack -------------------------------------------------------------------------------- /.roswell-load-system-list: -------------------------------------------------------------------------------- 1 | clack -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: clackup --port $PORT --address 0.0.0.0 app.lisp -------------------------------------------------------------------------------- /cl-beers.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rajasegar/cl-beers/HEAD/cl-beers.gif -------------------------------------------------------------------------------- /templates/_search-results.html: -------------------------------------------------------------------------------- 1 | {% for beer in beers %} 2 |
A small demo app made in Common Lisp to get a list of Beers and their details like food pairings from Punk API which is based on BrewDog's DIY Dog API.
8 |8 | ABV, or alcohol by volume, is the standard measurement, used worldwide, to assess the strength of a particular beer. The ABV scale is simple in the fact that the higher the ABV, the more alcohol that beer contains. Lighter beers range from 4-4.5% ABV, with percentages getting higher with heavier styles of beer. 9 |
10 |14 | IBU, or international bittering unit, is a less discernable abbreviation that is as, if not more, important when it comes to selecting the type of beer that is right for you. The IBU scale measures the bitterness levels in beer (based on the amount of hops added) and helps beer drinkers determine which styles of brews are ideal for their taste buds. This scale can be tricky, however, because higher IBU levels do not always equate to bitterer flavor. 15 |
16 |{{beer.tagline}}
10 |{{beer.description}}
11 |ABV: {{beer.abv}}
12 |IBU: {{beer.ibu}}
13 |PH: {{beer.ph}}
14 |Volume: {{beer.volume.value}} {{beer.volume.unit}}
15 |Malt:
19 |Hops:
25 |Yeast: {{beer.ingredients.yeast}}
31 |Food pairing:
34 |Brewers tips: {{beer.brewers--tips}}
40 |