Gameshelf is a Rails-based web application that allows users to track the board games they own. In addition to its web interface, Gameshelf utilizes a custom Amazon Alexa Skill (linked above) that allows users to ask an Amazon Echo, Tap, or Dot for a random game based on the number of players they have.
- Anonymous users can view the site's privacy policy
- Anonymous users can login through the Devise gem, login with Amazon, or sign up
- Authenticated users can enter in how many players they have, and receive a random game from their list
- Authenticated users can search for games, and add them to their list
- Authenticated users can delete games from their list
- Users can link their Gameshelf (if account was created with Amazon) to the custom Alexa Skill
- Users can say, 'Alexa ask Game Shelf to find a four player game' to receive a random game
- Users can say, 'Alexa open Game Shelf', to start a dialog with Alexa where she will ask users how many players they have before returning a random game.
This application assumes the following:
- Using Ruby 2.2.3
- Using Rails 4.2.6
- Using Postgres as a database
- Clone the repo down from github:
git@github.com:kbedell/gameshelf.git
- Change to the repo directory in your terminal
- Run
bundle install
in the terminal - Run
NPM install
in the terminal - Run
rake db:create
in the terminal - Run
rake db:migrate
in the terminal - Run
NPM start
in the terminal - Run
rails s
in a new tab in the terminal
- Navigate to the Amazon Developer Console
- Navigate to the Login with Amazon section (Under Apps & Services)
- Add your site URL to Allowed origins
- Add your site's callback url (example:
https://YOURSITE.COM/users/auth/amazon/callback
) to allowed return urls
If you liked this app enough to want to contribute, thank you! Please create a new branch, and issue a pull request. Please try to have tests for your code. If I the changes look good, then I will merge in the request.