Epicodus Ruby Group Project
- Ruby, Rails, Stripe, Ajax
- As a user, I should be able to add and remove items from my shopping cart.
- As a user, I'd like to see my shopping cart updated when I make changes.
- As a user, my shopping cart should be cleared once I've completed my order.
- As a user, I'd like to see the number of items in my shopping cart and the total cost of my order in the navbar (and not just on the shopping cart page).
- [] As a user, I'd like to be able to see which items are on sale, along with the percentage they've been discounted.
- As a user, I'd like to be able to pay for my order online (see API User Stories below).
- As a user, I'd like to be able to sign up and create an account.
- As a user, I'd like to see a history of my previous orders.
- [] As a user, I'd like to be able to tag products to "Save for Later." These will show up on my shopping cart page but will not be in my shopping cart. I should be able to move them into my shopping cart if I want.
- [] As a user, I'd like to see if there are fewer than ten of an item in stock.
- [] As a user, I'd like to be able to see and add reviews to products.
- [] As a user, I'd like my current shopping cart to be associated with my account so I can log in and access my cart from any device.
- [] As a user, I'd like to receive a confirmation email once I've completed my order.
- [] As a user, I'd like to receive an email once my order has been shipped. (Only do if you work on shipping employee stories.)
- Open terminal
- Move to desired folder
- Type
$ git clone https://github.com/dlewiski/adopt-an-animal.git
- Type
$ cd adopt-an-animal
to move to directory. - Type
bundle exec
to install all necessary gems - Type
rails db:create
to create the database. - Type
rails db:migrate
to run migrations for database - To view the website, type :
$ rails server
and navigate tohttp://localhost:3000/
Copyright (c) 2018 Anna-Marie Cooper & David Lewis
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.