GithubHelp home page GithubHelp logo

danetheory / fun-with-forbes Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 861 KB

A React app that displays photos via Flickr's API using Redux to maintain state.

JavaScript 64.20% CSS 33.66% HTML 2.15%

fun-with-forbes's Introduction

Fun With Forbes

A React app that displays photos via Flickr's API using Redux to maintain state.

How To Run:

1.) Download or clone this repo.
2.) Unzip the file then cd into the file path.
3.) Run npm i.
4.) Run npm start and wait for successful compilation.
5.) Open your browser and navigate to http://localhost:8080/.

Docs

Due to time constraints completing other coding challenges I'm adding important details here on the README versus providing code comments.

Overview

This application is built using ReactJS alongside Redux to maintain state. Photos provided via Flickr.

Challenge requirements:

  • Use flickr api to get a list of photos and display them on the page. (Completed)
  • Paginate the list 10 photos per page. (Completed)
  • When a photo is clicked, show it in an overlay. (Completed)
Here's some extra goodies!

Extra Fun stuff:

  • Responsive design providing a mobile, tablet, and desktop experience. (Completed)
  • Fun stylings for the UI. (Completed)
  • User search functionality. On initial load, the application displays Flickr's most recent photos. However, a search input has been provided for extra fun! (Completed)
  • A ticker is provided when navigating between pages to show current page and total search results. (Completed)
  • No React pulgins were used. Modal functionality, pagination, and search are all pure vanilla JS goodness. (Completed)
  • No jQuery or CSS frameworks like Bootstrap. All design and code are as vanilla as she gets. (Completed) (NOTE: Since I chose to fetch Flickr photos using REST API, jQuery was used for easy jsonp support. The alternative would be to use Flickr feeds to aggregate photos.
  • Instead of using Redux Thunkware to handle asychronous calls, I wrote a Factory service that handles the business logic in fetching Flickr photos. (Completed)

Final Thoughts

Because of time restraints, I didn't setup a nice webpack config for development. I wanted to use SCSS for styling, but just did not have the time. Also, the final application is not a perfect production ready build. With more time I would have really liked to script out solid build automation. As it stands, this app is as basic as it gets.

I hope you enjoy. Cheers!

fun-with-forbes's People

Contributors

danetheory avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.