A coding challenge to build a photo viewer. This project was created with create-react-app.
- Please fork and clone this repo
- cd
imgur-photo-viewer $ touch .env.development- 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
- Paste the Client ID into the
.env.developmentas such:
REACT_APP_IMGUR_AUTH= <YOUR CLIENT ID HERE>
$ npm start- Enjoy!
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