Skip to content

danielmarcgardner/imgur-photo-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Imgur Photo Viewer Challenge

A coding challenge to build a photo viewer. This project was created with create-react-app.

Getting Started

  1. Please fork and clone this repo
  2. cd imgur-photo-viewer
  3. $ touch .env.development
  4. Visit the imgur api and register the app.
  • Add Application Name
  • Authorization type should be "Anonymous usage without user authorization"
  • Authorized callback url is required although not used. Please put http://localhost:3000.
  • Copy the Client ID
  1. Paste the Client ID into the .env.development as such:
REACT_APP_IMGUR_AUTH= <YOUR CLIENT ID HERE>
  1. $ npm start
  2. Enjoy!

Testing

To view the tests, cd into the root directory run the following command: $ npm test. To see the test coverage for the app run: $ npm test -- --coverage. This generates a report that can be seen if by running the following command: $ open coverage/lcov-report/index.html

About

A coding challenge to build a photo viewing app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published