Skip to content
This repository has been archived by the owner on Oct 6, 2018. It is now read-only.

michaelfich/photography

Repository files navigation

Build Status Code Climate Test Coverage Issue Count

Description

This app features a main page which prompts the user to login via their 500px account. Once successfully logged in, using OAuth 1.0 to authorize a user using their 500px account, the user is able to view the gallery of the top 100 most popular photographs featured on that platform. While viewing the gallery of popular photographs, the user can move their mouse over a photo to see two buttons which appear. One will allow the user to cast their vote (or 'favorite') a photograph if they like it. The second will allow them to unfavorite the photograph.

Usage

  1. Start the application using rails server
  2. Visit http://localhost:3000/
  3. Click on the Sign in with 500px button on the home page
  4. Authorize the application with your 500px account.
  5. You will be redirected to the photo gallery page (/photos)
  6. To favorite, or unfavorite, any photograph you can move your cursor over the photo and click the left icon to favorite, and right icon to unfavorite. See picture below for example of favorite/unfavorite icons. Favorite and Unfavorite Photograph

Testing

  • The application has configured to run tests on TravisCI
  • All tests are written in RSpec
  • TravisCI will also require the code to pass Rubocop linting for a successful build