This app can simply be started by running npm install
and npm start
.
My favorite library when using bootstrap. It makes bootstrap classes into components.
Bootstrap
Themes for Bootstrap. I'm using it for a dark theme.
Animation library
For HTTP requests
For debounce
You can search for a GIF using the search endpoint. I'd like to add even more here (adding an area to search by category would be cool). If empty, searches trending GIFs.
Using GIPHY's autocomplete endpoint. I think the style could be improved upon.
Using Bootstrap rows/columns, GIFs are automatically added to a grid. Grid will resize based on browser width.
16 new entries at a time.
Just a few using framer-motion.
Clicking on a GIF will display more info on it.
I didn't want to spend too much time on this, so I did have to leave out some things I wish I could have worked on:
Probably the first thing I would add. I'd like to do some snapshot testing of my components.
I have simple debouncing and checking if GIFs are loaded, but there could be some more opimization.
Currently I just console.log the error message, but would like to expand on this.
I didn't want to use an already built component because I felt like that was kind of cheating, so I opted to skip it for now but it sounds like it would be really fun to make if I had more time.
Add some related tags when a user searches which can be clicked to search for GIFs with those tags.