Skip to content

A Wishlist app to view all products on sale on Rifle Paper Co website

License

Notifications You must be signed in to change notification settings

lisaychuang/rails-riflepaper

Repository files navigation

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.

About

A Wishlist app to view all products on sale on Rifle Paper Co website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published