finished beer database api exercise