/rather-clone

❓ Epicodus | AJAX | Would you rather...? (Two-day Project)

Primary LanguageHTML

Rails | AJAX | Would you rather...? (Two-day Project)

By Cory Olson and Maldon Meehan

Description

Create your version of a "Would you rather…?" site like rrrather.com. The idea is that users are posed tough questions and offered the option to answer and see how others responded when asked the same questions. Remember the goal for today is to use AJAX. If you complete the first three user stories (including testing and implementing AJAX), create additional user stories to continue to enhance your site with additional AJAX features, other tools you have previously learned or new processes that you'd like to learn.

Here are the user stories to begin:

As a user, I want to be able to see a list of questions to vote on so that I can have fun taking a survey. (To begin, consider text only questions, that record the answer and add an indicator for which was selected (text or css).) As a user, I want to be able to choose an answer so that I can see how many others also made the same selection as I did. (Use AJAX to process answer and return totals for each response. Hint: consider using group and count methods.) As a user, I want to be able to add a comment to a question to share my opinion about the selection that I made. (Use AJAX to show comment fields and process values.)

Installation

  • git clone https://github.com/maldonmeehan/rather-clone.git
  • gem install rails
  • bundle install
  • rake db:create
  • rails db:migrate
  • rake db:seed
  • rake db:test:prepare

Running / Development

Known Issues/Bugs

  • None.

Support and contact details

Please contact us with any questions, concerns, or ideas.

Technologies Used

  • Ruby
  • Rails
  • Devise
  • AJAX
  • PostgreSQL
  • HTML/CSS
  • Bootstrap

License

MIT License

Copyright (c) 2016 Cory Olson and Maldon Meehan