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
- Search for recipes query.
- View detailed recipe information.
- View Similar recipes in the Detailed recipe page.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/recipe-app.git cd recipes-app
-
Install dependencies:
npm install
-
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.
-
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.
-
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';
- Open the file
Once you have set up the API key, you can run the app locally:
npm run dev
Pull requests are welcome. Please fork the repository and create a pull request with your changes.