An app to view all products available for sale on Rifle Paper Co.
Users can sort all products by name, price, categories, and view a list of products that qualify for Free Shipping (> $50).
Users can create multiple wishlists and add products to them!
Users can sign-up and login via Facebook. To turn on this feature, follow these steps:
- Log in to the Facebook developer site and add a new app to obtain your Facebook developer
AppID
andApp Secret
. - Create a
.env
file in the root of your application - 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 # with Facebook! link in your # page.
- Ruby 2.0.0, 2.1.x, 2.2.x, 2.3.x
- Rails 4.2.x
- SQLite3 1.3.x
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
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.
This library is available as open source under the terms of the MIT License.