/randomMemeGenerator

Random Meme Generator is a fun web application that allows users to create memes effortlessly.

Primary LanguageJavaScript

Random Meme Generator

A React application that generates random memes using the Giphy API.

Features

  • Fetches random memes from Giphy
  • Displays meme images with captions
  • Allows users to generate new random memes

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed Node.js and npm
  • You have a Giphy API key (see instructions below)

Installing Random Meme Generator

To install the Random Meme Generator, follow these steps:

  1. Clone the repository:
    git clone https://github.com/ayush22667/randomMemeGenerator.git
    
  2. Navigate to the project directory:
    cd random-meme-generator
    
  3. Install the dependencies:
    npm install
    

Using Random Meme Generator

To use Random Meme Generator, follow these steps:

  1. Create a .env file in the root directory and add your Giphy API key:
    REACT_APP_GIPHY_API_KEY=your_api_key_here
    
  2. Start the development server:
    npm start
    
  3. Open your browser and visit http://localhost:3000

Getting a Giphy API Key

To use this application, you'll need to obtain an API key from Giphy. Here's how:

  1. Go to the Giphy Developers website: https://developers.giphy.com/
  2. Click on "Get Started" or "Create an App"
  3. Sign up for a Giphy account or log in if you already have one
  4. Once logged in, click on "Create an App"
  5. Select "API" as the type of app you want to create
  6. Give your app a name and description
  7. Agree to the terms of service and click "Create App"
  8. You'll be given an API Key. This is what you'll use in the .env file

Remember to keep your API key secret and never commit it directly to your repository.

Contact

If you want to contact me, you can reach me at ayushanandbtcs@gmail.com.