recipes-app

Recipe App

Netlify Status

Welcome to the Recipe App! This application allows you to search for recipes, view details, and save your favorites. It is built using React and the Spoonacular API.

Check out the live site: Recipe App

Table of Contents

Features

  • Search for recipes query.
  • View detailed recipe information.
  • View Similar recipes in the Detailed recipe page.

Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/recipe-app.git
    cd recipes-app
  2. Install dependencies:

    npm install
  3. API Key Setup: To access the Spoonacular API, you need an API key. Follow the instructions below to get a new API key and set it up in the project.

API Key Setup

  1. Get an API Key:

    • Go to the Spoonacular API website.
    • Sign up for an account if you don’t have one.
    • Generate a new API key from your account dashboard.
  2. Set up the API Key in your project:

    • Open the file src/config/config.js.
    • Replace the placeholder with your API key:
      const API_KEY = 'YOUR_API_KEY_HERE';

Usage

Once you have set up the API key, you can run the app locally:

npm run dev

Contributing

Pull requests are welcome. Please fork the repository and create a pull request with your changes.

License

MIT

Visit original content creator repository https://github.com/BMomani/recipes-app

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *