Coder Social home page Coder Social logo

mince-frontend's Introduction

Mince.

Table of Contents

About Mince

Mince is a full-stack web application that pulls from over 5,000 existing recipes through the utilization of RESTful APIs. Users can type in a certain type of dish they are looking for such as "chicken" and be taken to all the chicken recipes available. If logged in, the user can also create a list of their favorite recipes and shopping list! When they are ready to make the meal, users have the option of viewing the entire recipe guide for step-by-step guidance.

Mince Walkthrough Video

Mince Walkthrough

Technologies

JavaScript ES6

HTML5 / CSS3

Setup

  1. To run this project, please go to the Mince Backend repo:
  2. Run ~ lite-server in your front end directory
  3. Click here!

Code Examples

    function displayIngredientList(recipe) {
      const $ul = document.createElement('ul');
      $ul.className = 'ingredient_list';
      
      const $ingredients = recipe.ingredients.map(ingredientToElement);

      if (user_id) { $ingredients.forEach(addIngredientButton); }
      
      $ingredients.forEach($ingredient => {
          $ul.append($ingredient);
      });
      
      $main.append($ul);

      return recipe;
    }
    function displayHomeLink() {
      const $a = document.createElement('a');
      $a.href = `index.html?user_id=${user_id}`;
      $a.textContent = 'Go to Homepage';

      const $ul = document.querySelector('ul.nav-bar');
      $ul.append($a); 
    }

Mince Features

  • Display sample of recipes from 5,000
  • Filter through recipes through the search bar
  • Go to full recipe page for step by step instruction on how to make the dish
  • If logged-in, create a list of favorite recipes
  • If logged-in, add items to user's shopping list based on recipe ingredients

To-Do List:

  • Increase data size to provide up to 10k+ recipes
  • Add 'viewed' tag to allow the user to know which recipes have already been viewed

Status

Completed.

This app is built to carry out the CRUD framework

Why Mince?

We created this app based on our own affinity for cooking and finding new recipes to use. We wanted this app to be personalized and flexible and uncomplicated for some apps on the market tend to look busy and not as easy to use.

Contact

Created by Sam Evans and Nyaradzo Bere

License

View Here

mince-frontend's People

Contributors

evans-sam avatar nyaradzoubere avatar

Stargazers

 avatar

Forkers

nyaradzoubere

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.