Skip to content

fulgencc/giphy-search-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This app can simply be started by running npm install and npm start.

Dependencies

React-Bootstrap

My favorite library when using bootstrap. It makes bootstrap classes into components.

Bootstrap

Bootstrap

Bootswatch

Themes for Bootstrap. I'm using it for a dark theme.

Framer-Motion

Animation library

Axios

For HTTP requests

Lodash

For debounce

Features

Search

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.

Autocomplete

Using GIPHY's autocomplete endpoint. I think the style could be improved upon.

Dynamic Grid

Using Bootstrap rows/columns, GIFs are automatically added to a grid. Grid will resize based on browser width.

Infinite Scrolling

16 new entries at a time.

Animations

Just a few using framer-motion.

GIF Info

Clicking on a GIF will display more info on it.

Thing I'd Like to Add

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:

Jest Tests

Probably the first thing I would add. I'd like to do some snapshot testing of my components.

Optimize even more for slow internet connections

I have simple debouncing and checking if GIFs are loaded, but there could be some more opimization.

Async Error Handling

Currently I just console.log the error message, but would like to expand on this.

Mosaic Style Images

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.

Tags

Add some related tags when a user searches which can be clicked to search for GIFs with those tags.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages