Skip to content

Musyoka2020-eng/Recipe-Book-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Book App


Description

The Recipe Book App is a web application that fetches random recipes from the Spoonacular API and displays them in a user-friendly format. Users can explore a variety of recipes, view images, check ingredients, and access the full recipe details.

Table of Contents

Features

  • Display random recipes with images, titles, ingredients, and a link to view the full recipe.
  • Simple and clean user interface.
  • Easy navigation and interaction with recipes.

Getting Started

Prerequisites

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/Musyoka2020-eng/Recipe-Book-App.git
  2. Navigate to the project directory:

    cd Recipe-Book-App

Usage

  1. Replace the placeholder text in the script.js file with your Spoonacular API key:

    const API_KEY = "your-spoonacular-api-key";
  2. Open the index.html file in your web browser.

  3. Explore and enjoy the random recipes displayed on the page!

API Key

Make sure to replace the placeholder text in the script.js file with your valid Spoonacular API key. Failure to do so may result in API request failures.

const API_KEY = "your-spoonacular-api-key";

Contributing

Feel free to contribute to the development of this project. Fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License.