Giter Site home page Giter Site logo

adriiiiiix / forkify Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 151 KB

๐Ÿฅž A delicious journey through food. This vanilla JavaScript application explores the world of recipe food data, interacting with the Forkify API to fetch and display information. Search for your favorite recipes, save them to a favorites list and easily adjust servings to fit your needs.

Home Page: https://forkifyrecipe.vercel.app

License: MIT License

HTML 12.00% SCSS 39.21% JavaScript 48.79%
forkify forkify-api forkify-app forkify-project forkify-recipes-searcher recipe-app recipe-website recipes

forkify's Introduction

Screenshots

logo ab084ead

Forkify

Forkify is a vanilla JavaScript application that interacts with the Forkify API to fetch and display recipe food data. The user can search for a specific recipe, and save to a favorites list via local storage. The user can easily increase or decrease servings as per his need and can view detailed directions.

Built With

This app is built with pure vanilla JavaScript along with HTML and SCSS. It uses webpack as module bundler and NPM as package manager.

Getting Started

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.

Prerequisites

Start with the latest version of NPM to avoid any errors:

  • npm
    npm install npm@latest -g
  • Also install additional dependencies
 npm i --save core-js regenerator-runtime

Installation

  1. Get a free API Key at Forkify API_KEY
  2. Clone the repo
    git clone https://github.com/adriiiiiix/forkify
  3. Install NPM packages
    npm install
  4. Enter your API in config.js
    const KEY = 'ENTER YOUR API';

Usage

  1. The Forkify Recipe App allows users to search for recipes.

  2. Users can view the recipe along with the cook time and also increase or decrease the amount of servings they need.

  3. Bookmarked recipes are stored in local storage so no database was required for this application.

For more examples, please refer to the Documentation

Proposed features

  1. Number of pages between the pagination buttons.

  2. Ability to sort search results by duration or number of ingredients.

  3. Ingredient validation in view, before submitting the form.

  4. Improving recipe ingredient input: separate in multiple fields and allow more than 6 ingredients.

  5. Shopping list feature: button on recipe to add ingredients to a list.

  6. Weekly meal planning feature: assign recipes to the next 7 days and show on a weekly calendar.

  7. Nutrition data on each ingredient from spoonacular API (https:// spoonacular.com/food-api) and calculate total calories of recipe.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.