A recipe search application made with Vanilla JS.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Forkify is a vanilla JavaScript application that interacts with the Forkify API to fetch and display recipe food data. This app uses modern JavaScript tools, such as Parcel to bundle the modules, and Babel to convert ES6+ features back to ES5.
- Search and save recipes
- Adjust serving sizes
- View nutritional info
- Access original recipe website
- Bookmark favorite recipes
- Create shopping list
- Make weekly meal plan
This app is built with Vanilla JavaScript, HTML and Sass. It's using Parcel as module bundler and NPM as package manager.
To get started with project just simply fork this repo or download locally on your System.
To get a local copy up and running follow these simple example steps.
Start with the latest version of NPM to avoid any errors:
- npm
npm install npm@latest -g
- Get a free API Key at Forkify API_KEY
- Clone the repo
git clone https://github.com/stekatag/forkify.git
- Install NPM packages
npm install
- Enter your API in
config.js
const KEY = "ENTER YOUR API";
-
The Forkify Recipe App allows users to search for recipes.
-
Users can view the recipe along with the cook time and also increase or decrease the amount of servings they need.
-
Bookmarked recipes are stored in local storage so no database was required for this application.
-
Create a shopping list of all the ingredients you need for your recipes to make grocery shopping easier and more efficient.
-
Plan your meals for the week by selecting recipes and adding them to your weekly meal plan, helping you stay organized and save time.
For more examples, please refer to the Documentation
See the open issues for a list of proposed features (and known issues).
-
Number of pages between the pagination buttons. ✅
-
Shopping list feature: button on recipe to add ingredients to a list. ✅
-
Weekly meal planning feature: assign recipes to the next 7 days and show on a weekly calendar. ✅
-
Nutrition data on each ingredient from spoonacular API (https:// spoonacular.com/food-api) and calculate total calories of recipe. ✅
-
Dark mode. ✅
-
Responsive design. ✅
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AwesomeNewFeature
) - Commit your Changes (
git commit -m 'Add some AwesomeNewFeature'
) - Push to the Branch (
git push origin feature/AwesomeNewFeature
) - Open a Pull Request
Distributed under the MIT License. See license for more information.