Welcome to the Random GIF Generator App! This web application is built using React and leverages custom hooks to provide a seamless and enjoyable experience for users who love discovering and sharing random GIFs.
- Random GIFs: Instantly generate and display random GIFs with just a click.
- Custom Hooks: Utilizes custom React hooks for efficient state management and code organization.
- User-Friendly Interface: A clean and intuitive interface for a smooth user experience.
Follow these steps to run the app locally on your machine:
-
Clone the repository to your local machine:
git clone https://github.com/Siddhartha-306/Random_gif_generator.git
-
Navigate to the project directory:
cd Random_gif_generator
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and visit http://localhost:3000 to view the app.
The app relies on the following key dependencies:
- React: A JavaScript library for building user interfaces.
- Axios: A promise-based HTTP client for making requests to the GIF API.
Install these dependencies using the following command:
npm install react axios
If you need to customize the GIF source or make any configuration changes, you can find the relevant settings in the src/config.js
file.
The app employs custom hooks for managing state and logic. These can be found in the src/hooks
directory. Feel free to explore and modify them based on your requirements.
Contributions are welcome! If you find any bugs, have feature requests, or would like to contribute in any way, please open an issue or submit a pull request.
This project is licensed under the MIT License, so feel free to use, modify, and distribute it as needed.
Happy GIF-ing! 🚀