mikekauffman / rails-practice-store-reviews

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails Practice Store Reviews

Based on the g2-store built by students of gSchool Boulder, August 2014

Setup

  1. Fork and clone this repository
  2. Install required gems bundle install
  3. Create test and development databases rake db:create:all
  4. Run the migrations rake db:migrate
  5. Run the migrations rake db:seed
  6. Get the app running locally rails server
  7. View the app in your browser localhost:3000

Stories

Users can add reviews to products

When I am on a project show page
And I am a logged in user
Then I can add a review to a product

Users must enter both the review and the rating

When I am on a project show page
And I am a logged in user
And I am adding a review
If I forget to add a rating or comment
Then I should see validation errors

Line breaks in the review should appear on the rendered page

If a user enters line breaks
They should be preserved on the show page

Wireframes

reviews

w/ errors

About