Giter VIP home page Giter VIP logo

project2-recipe-database's Introduction

About this site.

We were presented with a task to reflect what we have learned about javascript. I took the opportunity to create an recipe search engine where users can key in the main igredients of the type of dish they are looking for and the server returnsa a list of popular dishes with instructions for the user to try I also imprted an idea from spoonacular to provide the users an estimate how much the dish would cost by keying in the ingredients and have returned to them a list and prices of the ingredients they keyed in. I decided to go for a simple, fresh and easy to navigate webpage so that the user can easily run searches.

picture

Demo

Click Here to see a demo of the website.

User Interface

The goal of the website is to allow users to find out recipes of the main ingredients they are looking for by keying in the main ingredients in the search engine.

Programmig Lnguage used

  1. HTML
  2. CSS
  3. Bootstrap
  4. Javascript

Features

The overall website's look is achieved as planned. Users are able to search for recipes of the main gradient. by keyeing in the main ingredient in the search button and array of recipes with instructions will display The users will also be able to get a price estimate of the ingredients they intend to use

Features left to implement

The future plans for this wensite is to include a calorie calculator where users can calculate and find out how much Kcal they are consuming by keying in the ingredients and quantity

Deployment

THe site was deployed on Github via this link Click Here

Content

All content was authored by me and referenced from pages which are mentioned in the Credit Section

Media

Pictures for the home page were taken from

  1. https://thehoneycombers.com
  2. https://www.eazypeazymealz.com/
  3. https://www.dinneratthezoo.com/
  4. https://www.tasteofhome.com/
  5. https://panlasangpinoy.com/

Credit

References,Javascript and bootstrap codes were used from the following websites

  1. https://www.stackoverflow.com
  2. https://www.w3schools.com
  3. https://www.w3.org/
  4. https://getbootstrap.com/
  5. https://spoonacular.com/food-api
  6. https://github.com/ddsky/spoonacular-widgets

Page Structure Design

********** Layout and Design **********

The page layout was designed with this deisgn originally as such using Adobe wireframe picture

Header includes a logo which when click brings user to homepage. The main content section will display food examples and a brief write up about the website. Users will be able to search recipes based on key ingredient keyed in Users will be able to navigate to a menu price estimator when clicking on the link

Function & Operation

********** Main Page **********************

The main page was designed with the intention of allowing the users to search for their favourite recipes by filling the form field with keywords like "chicken", "beef" , "lamb", "Pasta", "Fish" and an array of recipes matching their key words will be displayed.

********** Menu Price Estimator ***********

This page allows the user to key in all the ingredients that they would like to use and upon clicking the "Price Visualizer" button a chart with a list of the chosen ingredients and prices and chart will be displayed

********** Recipe Button ***********

Clicking the recipe button allows the user to see the ingredients and steps of the recipe

picture

Testing

The Following tests was conducted

1)https://validator.w3.org/nu/

picture

2)https://jigsaw.w3.org/

picture

  1. Buttons and Links

a)The Search button was tested and works exactly as intended. Users are able too see a list of recipes after keying in the main ingredient and clicking the search button picture

b)The recipe button was tested and worked exactly as intended. Users are able to see the ingredients and steps when clicking on the button picture

b)The home button was tested. Clicking it brings the user back to home page as intended picture

c)The price estimator button was tested. Clicking the button after keying in your groceries shows the user thr price breakdown and chart picture

d)The link to the price estimator page works as intended when being clicked picture

d)The apiKey from spooncaular was tested to see if results were able to be retrieved using postman Results were able to be fetched from Spoonacular API. picture

project2-recipe-database's People

Contributors

muhammad-mo avatar

Watchers

 avatar

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.