Skip to content

A modern Recipe App built using ReactJS and Redux that allows users to search, explore, and save their favorite recipes. It fetches data from the Edamam Recipe API and provides a clean user interface to interact with recipes.

Notifications You must be signed in to change notification settings

Vivek92503/Recipe-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍽️ Recipe App

A modern Recipe App built using ReactJS and Redux that allows users to search, explore, and save their favorite recipes. It fetches data from the Edamam Recipe API and provides a clean user interface to interact with recipes.

Table of Contents

Introduction

The Recipe App is a user-friendly web application that allows users to search, view, and save their favorite recipes. Built using ReactJS and Redux, it integrates the Edamam API to fetch real-time recipe data. Users can explore dishes by ingredients, mark favorites, and apply filters to personalize their cooking experience.

Features

  • Search recipes by keywords (e.g., "pizza", "vegetarian")
  • View recipe details (ingredients, time, servings)
  • Mark recipes as favorites and manage a favorite list
  • Filters for dietary needs (e.g., gluten-free, vegetarian)
  • State managed via Redux and persists across navigation
  • Clean and reusable component structure

Technologies Used

  • Frontend: ReactJS
  • State Management:Redux, Redux Thunk
  • API: Edamam Recipe API
  • Styling: CSS
  • Development Tools: Visual Studio Code, npm, Git

Setup Instructions

Prerequisites

  • Node.js and npm installed (download: https://nodejs.org/)
  • Internet connection to fetch data from Edamam API

Steps

  1. Clone the repository

    git clone https://github.com/your-username/RecipeApp.git
    cd RecipeApp
    
  2. Install dependencies

    npm install
  3. Add your Edamam API credentials Open src/redux/actions.js and update this line:

    const response = await fetch(
      `https://api.edamam.com/search?q=${query}&app_id=YOUR_APP_ID&app_key=YOUR_APP_KEY&from=0&to=50`
    );
  4. Start the development server

    npm start

    The app should open automatically at http://localhost:3000


Available Scripts

In the project directory, you can run:

  • npm start – Runs the app in development mode
  • npm run build – Builds the app for production
  • npm test – Launches the test runner (if tests are added)
  • npm run eject – Ejects the app configuration (not recommended unless necessary)

Deployment

This app can be deployed on platforms like:

  • GitHub Pages
  • Vercel
  • Netlify
  • Render

You can build the production version using:

npm run build

Then follow the hosting provider's instructions for deployment.

Future Enhancements

  • 🍽️ Add category filters (breakfast, lunch, dinner)
  • πŸ§‘β€πŸ³ Add user authentication to save favorites per user
  • 🌐 Add pagination or infinite scroll
  • πŸ“± Improve responsiveness on smaller screens
  • πŸ“Š Add nutritional info and calorie breakdown

Notes

  • This project is for educational and demonstration purposes.
  • Be mindful of the free tier limitations of the Edamam API.

License

This project is open-source and available under the MIT License.

About

A modern Recipe App built using ReactJS and Redux that allows users to search, explore, and save their favorite recipes. It fetches data from the Edamam Recipe API and provides a clean user interface to interact with recipes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published