Giphy Searcher in React/Redux

Description

Project Brief

Inspired by 5 Projects To Complete When Starting to Learn Front-End Web Development

Once you have the hang of DOM manipulation and working with vanilla JavaScript or jQuery, I recommend you start learning to template data and show it on the DOM. My horribly designed Giphy web app. You can do better, or use a CSS framework. An excellent beginning application to build is a basic re-creation of the the giphy website, using the giphy api itself. I recommend their API for beginners because there is no need to request any kind of API key, and you won’t have to worry about much configuration when trying to request data.

Using their API you are able to build a small web app which does the following; displays trending gifs on app load shown in a column/grid has an input which allows you to search for specific gifs at the bottom of the results, there is a ‘load more’ button, which gets more gifs using that search term.

You’ll hit a lot of new challenges in this project, one of which will be working with asynchronous requests. You can choose to use vanilla JavaScript for this challenge, or if you’re more comfortable with jQuery use the it’s ajax method. The goal is to begin working with asynchronous code.

Challenges

  • Attempting TDD for the first time to complete this version
  • Using Redux Middleware to validation the search term and make API calls
  • I broke my wrist on 26 March 2018 and had surgery 2 weeks later

Takeaways

  • I feel more confident in using TDD going forward
  • Using TDD helped when it came to debugging the application
  • I have a much better understanding of using Redux middleware