Skip to content

App that gives description of recipes you can add it to fav list and it provides drag and drop functionality to re-order recipes.

Notifications You must be signed in to change notification settings

Abhishek-Bharti1/mealHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe List Drag and Drop

This project is a recipe list application with drag-and-drop functionality using React, Redux, and react-dnd with the HTML5 backend. Users can reorder recipes by dragging and dropping them, and view detailed information for each recipe.

Table of Contents

Features

  • Fetch and display a list of recipes.
  • Drag and drop recipes to reorder them.
  • View detailed information for each recipe by clicking on it.
  • Smooth animations and user-friendly UI.

Getting Started

Follow these instructions to set up and run the project locally.

Prerequisites

Make sure you have the following installed:

  • Node.js (>=12.x)
  • npm (>=6.x)

Installation

  1. Clone the repository:

    git clone https://github.com/Abhishek-Bharti1/mealHub.git
    cd mealHub
    
  2. Install dependencies: npm install

  3. Start the development server: npm run dev

Usage

  • Fetch Recipes: The application automatically fetches a list of recipes when it starts.
  • Reorder Recipes: Click and drag a recipe to change its position in the list.
  • View Recipe Details: Click on a recipe to view more details about it.

Project structure

├── public │ ├── index.html │ └── ... ├── src │ ├── components │ │ ├── DraggableRecipe.js │ │ └── RecipeList.js │ ├── features │ │ └── recipes │ │ ├── recipesSlice.js │ │ └── ... │ ├── styles │ │ └── RecipeList.module.css │ ├── App.js │ ├── index.js │ └── ... ├── package.json ├── README.md └── ...

Acknowledgements

- React
- Redux toolkit
- React DnD
- React Router
- Framer Motion
- CSS

About

App that gives description of recipes you can add it to fav list and it provides drag and drop functionality to re-order recipes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published