Giter Site home page Giter Site logo

beer_pairing_app's Introduction

Project Image

Beer-Pairing App for Food

Fetches beers from PunkAPI that pair with your food.

Build Status issues badge Coverage license badge

Table of Contents


Summary

This program was created to help people find beers that pair with food they currently have in the house or on their grocery list.

By choosing a food, the app will find beers that pair with that food. The beers will also provide descriptions of meals you can create from those foods, giving you not only beer ideas but dinner ideas as well.

With this instant knowledge on hand, you'll soon be creating remarkable beer pairings that excites your normal meal routine and impresses any guest.


Dependencies

The following requirements are necessary to run these files:

  • Ruby ~>2.7.0
  • Open-URI
  • json
  • Colorize gem

Ruby

This app is written with Ruby and requires Ruby version ~>2.6.1 to be installed on the operating system executing the program.

Changing_Versions

If Ruby is installed on your system, verify the currently used version with the command ruby -v

You can list all installed Ruby versions on your machine with rvm list

Changing the currently used version of Ruby to a version ~>2.7.0 can be achieved with the command rvm use 2.7.0 (or your specified version).

Running rvm list again will confirm that that version is the current

Installing_Versions

If you do not have a version of Ruby version ~>2.7.0 on your machine you, can obtain it by running rvm install 2.7.0.

This installation requires Ruby Version Manager (RVM). If RVM is not installed on your machine, that can be downloaded and installed with the following command:

curl -sSL https://get.rvm.io | bash

When RVM is installed, run rvm reload or close and reopen your terminal to make sure RVM is fully loaded. Next, install the Ruby version ~>2.6.1 with the subsequent commands:

rvm install 2.7.0 rvm use 2.7.0

Please see the Ruby installation instructions for further information about installing RVM or a Ruby verion on your machine.

Open-URI

net/http Documentation

JSON

json Documentation

Colorize

Finally, the app uses the Colorize gem.

To install, in your terminal, run gem install colorize. Find the Colorize documentation here


Run

To run any of the files, visit the file's repo on Github.

From there, download a zipped copy of the repo files or use its web url to clone. clone repo

Please have ruby and the above gem dependencies installed prior to running this application (see dependencies above)

After unzipping and saving the contents to the desired directory (or using git clone to clone the repo in your terminal), change directories to the directory containing the copy of the repo.

From within that directory, run the following command in your terminal: ruby ./bin/beer_pairing

The program will run and prompt the user for input with the following message: prompt repo

To close the program, type the word exit


Acknowledgements

I would like to thank PunkAPI.com for allowing public access to their API and for the extensive information they provide.

Please check out their API.

Photo credit: Timothy Dykes


Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ferrisbueller66/beer_pairing_app. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.


License

The gem is available as open source under the terms of the MIT License.


Maintainer(s)

tmtarpinian
@tmtarpinian

Conduct

Everyone interacting in the Beer-Pairing App’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

beer_pairing_app's People

Contributors

tmtarpinian avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.