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.
- 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.
- Node.js installed on your machine.
- A Spoonacular API key. You can obtain one by signing up on the Spoonacular API website.
-
Clone the repository to your local machine:
git clone https://github.com/Musyoka2020-eng/Recipe-Book-App.git
-
Navigate to the project directory:
cd Recipe-Book-App
-
Replace the placeholder text in the
script.js
file with your Spoonacular API key:const API_KEY = "your-spoonacular-api-key";
-
Open the
index.html
file in your web browser. -
Explore and enjoy the random recipes displayed on the page!
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";
Feel free to contribute to the development of this project. Fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License.