Giter VIP home page Giter VIP logo

forkify's Introduction

App

Forkify.io is an applicaton made using HTML, CSS, JS and Webpack. In developing this project the following concepts were explored in detail:

  • Webpack: Writing Webpack configuration file from scratch
  • MVC Pattern: Separating concerns through the implementation of the Model View Controller design pattern
  • API Requests via Axios: Making asynchronous API requests using the Axios library Imporant note below
  • Event Delegation: Delegating handling user interactions to parent nodes This project was created as part of the video series The Complete Javascript Course 2019 by Jonas Schmedtmann.

NOTE (IMPORTANT)

  • I made use of Forkify-api by Jonas Schmedtmann which is based on food2fork API however it is limited to the following keywords: "pizza", "bacon" and "broccoli". This API is used in place of food2fork since multiple students have had problems with food2fork, namely trouble routing their requests via a proxy to avoid CORS errors, as such Jonas made a simpler version of the API

Lessons learned

  • Advanced JS Concepts: Throughout working on this project it became evident that in the past I had taken a lot of advanced JS concepts for granted, such as closures, IIFEs, Modueles etc... Jonas does a great job of explaining these concepts in depth, which allowed me to make use of them throughout the application. What I enjoyed most about working on the application was the use of Modules, in particular how the use of Modules allows developers to separate concerns and isolate code.
  • UI Flow Diagrams: It is very easy to get lost in the big picture when starting a project. There tends to be a lot of overthinking, which delays the coding process. I'm not trying to say that one should always jump straight into code, however getting lost in the weeds is equally unproductive. The architecture planning that was done prior to coding helped to overcome this hurdle and provides a reference throughout the coding process.

forkify's People

Contributors

tomzacchia avatar

Watchers

 avatar

forkify's Issues

[enhancement] Local Storage

Current behaviour: As a user my liked ingredient should be saved instead of disappearing when the website is refreshed.

Expected behaviour: Liked recipes should persists even if the page is refreshed

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.