A Wishlist app to view all products on sale on Rifle Paper Co website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app fix: centered hero image and title in welcome screen, added style Aug 8, 2018
bin Generated new rails app Feb 9, 2018
config Added #toggle_product and #has_product methods to Wishlist model. Add… Mar 16, 2018
db
lib
log Generated new rails app Feb 9, 2018
public Generated new rails app Feb 9, 2018
test
vendor/assets Generated new rails app Feb 9, 2018
.gitignore
Gemfile
Gemfile.lock fix: updated gem dependencies to resolve vulnerabilities Aug 8, 2018
MIT-LICENSE.md Added MIT license file Mar 18, 2018
README.md Added Omniauth-Facebook implementation in Readme Aug 9, 2018
Rakefile Generated new rails app Feb 9, 2018
config.ru
planning.html.erb
spec.md

README.md

Rails Rifle Paper wishlist app

An app to view all products available for sale on Rifle Paper Co.

📌Features

Sorting

Users can sort all products by name, price, categories, and view a list of products that qualify for Free Shipping (> $50).

Wishlist

Users can create multiple wishlists and add products to them!

Third-party sign-up and login

Users can sign-up and login via Facebook. To turn on this feature, follow these steps:

  1. Log in to the Facebook developer site and add a new app to obtain your Facebook developer AppID and App Secret.
  2. Create a .env file in the root of your application
  3. Add your Facebook developer credentials in your .env file:
// .env
FACEBOOK_KEY={add your appID here}
FACEBOOK_SECRET={{add your app secret here}}

Restart your app, you should now see the Sign up with Facebook! link in your signup page.

💻Supported Versions

  • Ruby 2.0.0, 2.1.x, 2.2.x, 2.3.x
  • Rails 4.2.x
  • SQLite3 1.3.x

🛠Installation Guide

Fork and clone repo: https://github.com/lisaychuang/rails-riflepaper

Install all gem dependencies:

bundle install

Create database scheme with migrations:

rake db:migrate

Seed database:

rake db:seed

Start local server:

rails s

Please note that you will requires an internet connection to seed the database, as the scraper will obtain current product information from Rifle Paper Co's website.

You can view or update scraper method at: lib/scraper.rb

🤩Contributing

Contributions are welcomed! Fork, fix, then send a pull request.

Bug reports and pull requests are welcome on GitHub at rails-riflepaper repo, please open Issues to provide feedback.

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

📗License

This library is available as open source under the terms of the MIT License.