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.
- 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.
Follow these instructions to set up and run the project locally.
Make sure you have the following installed:
- Node.js (>=12.x)
- npm (>=6.x)
-
Clone the repository:
git clone https://github.com/Abhishek-Bharti1/mealHub.git cd mealHub
-
Install dependencies: npm install
-
Start the development server: npm run dev
- 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.
├── 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 └── ...
- React
- Redux toolkit
- React DnD
- React Router
- Framer Motion
- CSS