🔗 Live Demo: https://dk-meal-explorer.netlify.app/
Meal Explorer is a dynamic and responsive React application that allows users to discover, search, and save their favorite recipes. Built with Vite and React Router, it seamlessly integrates with TheMealDB API to provide an extensive catalog of meals.
- Search Meals: Quickly search for your favorite meals by name.
- Detailed Recipes: View comprehensive meal details, including ingredients, step-by-step instructions, and high-quality images.
- Categorized Browsing: Filter and explore meals by various categories like Seafood, Dessert, Vegetarian, etc.
- Favorites System: "Like" your favorite meals to save them in a dedicated collection. (Your preferences are persisted locally using your browser's Local Storage).
- Responsive Navigation: A smooth, app-like routing experience powered by React Router.
- Frontend: React 19, React Router DOM v7
- Build Tool: Vite
- Styling & Assets: Vanilla CSS, React Icons
- Data Source: TheMealDB
Follow these steps to set up the project locally on your machine.
- Node.js (v16 or higher recommended)
npmoryarn
-
Navigate to the project directory:
cd Meal_Explorer -
Install the dependencies:
npm install
-
Start the development server:
npm run dev
-
Open the app: Open your browser and navigate to the local URL provided in your terminal (usually
http://localhost:5173).
src/components/- Reusable UI components like the Navbar.src/pages/- Core page views corresponding to routes (Home, MealDetails, Categories, LikedMeals).src/utils/- Helper functions containing logic for managing "liked" meals in local storage.
Feel free to fork the project and submit pull requests if you have ideas for new features or improvements!