Welcome to the Random GIF Generator repository! This project combines the magic of React, the styling flexibility of Tailwind CSS, and the vast Giphy API to bring you an exciting web application that generates random GIFs with just a click.
Random GIFs: Click the button and watch the magic happen! Our application fetches and displays a new random GIF from the Giphy API every time you click.
Responsive Design: The project is designed using Tailwind CSS, ensuring that the application looks great on all devices and screen sizes.
Custom Hook - useGif: We've implemented a custom hook called useGif
that simplifies the process of fetching and managing GIF data from the Giphy API. It's a great example of how to create reusable code in React.
React: The project is built using React, offering a component-based architecture for organized and efficient code.
Tailwind CSS: Tailwind CSS provides a utility-first approach to styling, making it easy to create responsive and visually appealing designs.
Giphy API: We've integrated the Giphy API to source a diverse range of GIFs, making each click a delightful surprise.
To run the project locally, follow these steps:
npm install
to install the required dependencies..env.example
to .env
and add your Giphy API key.npm start
to launch the development server.Contributions are highly encouraged! Whether you're a React expert or just starting out, you can contribute by adding features, improving the UI/UX, enhancing code quality, or fixing bugs. Please follow best practices and keep the project's focus on education and entertainment.
To contribute:
We value your feedback! If you have suggestions, ideas, or issues, please feel free to open an issue in the repository. Your input helps us make the Random GIF Generator even better!
Let's bring some randomness and fun to the world of GIFs. Happy coding!