beer.db HTTP JSON API (web service) scripts
You can run any of the scripts using the beerdb
command line tool. By default the serve
command will look for
a script named Service
or service.rb
(in the working folder, that is, ./
). Example:
$ beerdb serve
To run any other script - copy the script into the working folder and pass it along as an argument. Example:
$ beerdb serve starter # note: will (auto-)add the .rb extension or
$ beerdb serve starter.rb
The beer.db.service
scripts are dedicated to the public domain.
Use it as you please with no restrictions whatsoever.
Send them along to the Open Beer & Brewery Database Forum/Mailing List. Thanks!