Git Product home page Git Product logo

brew_master's Introduction

Brew O'clock

Please Note:

As of April 11, 2018 Facebook has restricted access to the "Page Events" portion of their Graph API. Applications will not be granted access until an audit has been completed on the application. App submissions are not yet open and as such Brew O'Clock will not be able to add new events until permission has been granted.

About

Brew O'Clock is an application built to better connect users to the vibrant brewery culture of Colorado. This application uses the Facebook Graph API to collect new events from over 300 Colorado breweries every hour. Users are able to add and remove these events to and from their personal dashboard to keep track of events they are interested in attending.

Getting Started Locally

Follow these instructions to setup and serve Brew O'Clock locally.

Clone & Setup environment:

#terminal
git clone https://github.com/Ryanspink1/brew_master.git
cd brew_master
bundle exec install

Once bundled, the FACEBOOK_TOKEN environment variable will need to be set. Please retrieve your personal Facebook token from the Facebook Graph API Explorer (Facebook account required).

Set Token:

# config/application.yml
FACEBOOK_TOKEN: #your_token

With the token configured, the database can now be created and populated via rake tasks. In your terminal:

#terminal
rake db:create
rake db:migrate

And to populate with breweries and events:

#terminal
rake create_breweries
rake get_new_events

Both of the previous rake tasks will output the status of their brewery and event creation in the terminal and notify upon completion.

Schema

alt text

Testing

Test suite may be run in the terminal:

#terminal
rspec

Built With

Author

Ryan Spink (2017 - Current)

License

This project is licensed under the MIT License.

brew_master's People

Contributors

r-s-tech avatar ryanspink1 avatar

Watchers

James Cloos avatar

brew_master's Issues

Schema

Create Schema:

multitenancy between breweries

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.