Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Miguelcds/Recipe-Hub/llms.txt
Use this file to discover all available pages before exploring further.
Recipe Hub
Recipe Hub is a modern React application that connects to TheMealDB API to let you browse thousands of recipes from around the world. Search by name, explore random meals, dive into step-by-step instructions, and save your favorites for later — all in a fast, responsive dark UI.Quick Start
Get the app running locally in under 5 minutes
Core Features
Explore search, recipe detail, and favorites
Architecture
Understand the component and state structure
API Integration
Learn how TheMealDB powers the app
Key features
Search recipes
Find any meal by name using the TheMealDB search endpoint. Results display immediately with photos and category tags.
Random discovery
On every fresh load the home page fetches 9 random meals, so there’s always something new to find.
Recipe detail
Full ingredient lists, step-by-step instructions, and an embedded YouTube video for every recipe.
Persistent favorites
Add or remove meals from your favorites. Selections survive page refreshes thanks to localStorage.
Custom hooks
Data-fetching logic is encapsulated in
useRecipes and useRecipeDetail — easy to test and reuse.Responsive dark UI
A hand-crafted dark theme works on any screen size, from mobile to widescreen.
Tech stack
| Layer | Technology |
|---|---|
| UI framework | React 19 |
| Routing | React Router DOM v7 |
| Video playback | React Player |
| Global state | Context API |
| Local persistence | localStorage |
| Build tool | Vite |
| External data | TheMealDB REST API |