Foodie’s Book is a modern, responsive recipe discovery web application that enables users to search for food items and instantly explore curated recipes, ingredient lists, and step-by-step cooking instructions using the Edamam Recipe Search API.
This project is built using HTML, CSS, JavaScript, and Bootstrap, with a strong focus on UI/UX, performance, and clean code structure.
- Overview
- Project Motivation
- Features
- Tech Stack
- Application Architecture
- Project Structure
- Setup & Installation
- API Configuration
- Usage Guide
- UI/UX Highlights
- Keyboard Shortcuts
Foodie’s Book provides a seamless cooking discovery experience by allowing users to:
- Search for recipes based on food preferences
- View calories, cooking time, cuisine type, and dietary labels
- Explore ingredients visually
- Follow cooking instructions step by step
The application runs entirely on the frontend and fetches real-time recipe data from a third-party API.
Finding the right recipe that matches cravings can be time-consuming. Foodie’s Book solves this problem by:
- Reducing search effort
- Presenting visually rich recipe cards
- Offering quick access to ingredients and cooking steps
- Delivering a smooth, distraction-free UI
This project was built to practice:
- API integration
- DOM manipulation
- Responsive design with Bootstrap
- Clean JavaScript architecture
- Real-world frontend workflows
- 🔍 Search recipes by food name
- 📦 Fetch real-time data from Edamam API
- 🧾 Dynamic recipe cards
- 📋 Ingredient breakdown
- 🧑🍳 Cooking instructions display
- 🔄 Grid and list view toggle
- 🎥 Hero section with background video
- ⏳ Animated loading screen
- 🔔 Toast notifications for feedback
- ⬆️ Floating scroll-to-top button
- 🎯 Quick search suggestions
- 📱 Fully responsive design
- 🖨️ Print recipe
- 🔗 Share recipe (Web Share API / Clipboard)
- ❤️ Save recipe (UI-level simulation)
- ⌨️ Keyboard shortcuts
- HTML5 – Semantic structure
- CSS3 – Custom styling & animations
- JavaScript (ES6+) – Application logic
- Bootstrap 5 – Responsive layout
- Font Awesome – Icons
- Edamam Recipe Search API
User
↓
Search Input
↓
Form Submission
↓
Fetch Request (Edamam API)
↓
Recipe Data (JSON)
↓
DOM Rendering
↓
User Interaction (View Recipe)
↓
Ingredients & Instructions Display
Foodies-Book/
├── index.html
├── bootstrap/
│ ├── css/
│ │ ├── bootstrap.min.css
│ │ └── style.css
│ └── js/
│ ├── app.js
│ └── bootstrap.bundle.js
├── assets/
│ └── bgvid.webm
└── README.md
- Modern web browser (Chrome, Edge, Firefox)
- Active internet connection
git clone https://github.com/your-username/foodies-book.git
cd foodies-bookOpen index.html in your browser.
No build tools or backend setup required.
This project uses the Edamam Recipe Search API.
Inside app.js:
const app_id = "YOUR_APP_ID";
const app_key = "YOUR_APP_KEY";- Visit https://developer.edamam.com
- Create an application
- Copy your App ID and App Key
- Paste them into
app.js
⚠️ For production use, avoid exposing API keys in frontend code.
- Open the application
- Enter a food item (e.g.,
pasta) - Click Search Recipe
- Browse available recipe cards
- Toggle between Grid and List views
- Select a recipe
- View ingredients and cooking instructions
- Share or print the recipe if needed
- Smooth transitions and animations
- Lazy-loaded images for better performance
- Clean typography and spacing
- Feedback-driven interactions using toast notifications
- Mobile-first responsive layout using Bootstrap
| Shortcut | Action |
|---|---|
Ctrl + / |
Focus search input |
Esc |
Clear search and scroll to top |