Skip to content

Maelikah/P1_MealPreApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meal PreApp

Description

Introducing an innovative web application that empowers meal lovers to unleash their creativity and experiment with a diverse range of recipes. From simple ingredients to exquisite culinary masterpieces, this platform offers a thrilling opportunity to craft awe-inspiring plates, pushing the boundaries of culinary artistry.

From breakfast to dinner, and everything in between, our app has recipes that can't be beat!

Acceptance Criteria

  • WHEN I open the app
    • THEN I am presented with a webpage made with Bulma CSS framework
  • WHEN I navigate on the main page
    • THEN I am presented with an input text box and two select dropdown lists
  • WHEN I click on the button without selecting a value for the text box and dropdowns
    • THEN I am presented with a modal warning window, explaining i need to add data in all of them
  • WHEN I click on get me some recipes button
    • THEN an API call to EDAMAM and USDA is made to retrieve data
  • WHEN I click on the button after adding all data
    • THEN I am sent to a loading page that lasts 6 seconds
  • WHEN I have waited 6 seconds
    • THEN I am presented with the list of recipes that match the criteria I provided
  • WHEN I click on the Cancel button
    • THEN the page is reloaded and I am sent back to the main page
  • WHEN I click on a listed recipe
    • THEN I am sent to a loading page that lasts 6 seconds
  • WHEN I have waited 6 seconds
    • THEN I am presented with the recipe page where an image, name, list of ingredients, link and nutrients are displayed
  • WHEN I click on the Get Recipe Button
    • THEN I am redirected to the recipe's orgin webpage
  • WHEN I click on the Back to List button
    • THEN I am sent back to the recipe's list
  • WHEN I click on the Back to Main button
    • THEN the page is reloaded and I am sent back to the main page
  • WHEN I have searched for a previous recipe and get in the page again
    • THEN I am presented with the previously searched recipe and a clear previous recipes button
  • WHEN I click on the clear previous recipes button
    • THEN the contents of the local storage and the listed recipes are deleted
  • WHEN I click on a previously searched recipe
    • THEN I am sent to the recipe page and the Go back to list button is not displayed

Installation

Installation not required, just open up the MealPreApp html file and follow the next steps:

  • Pull down the dropdown box an choose your main ingredient
  • Choose your favourite cuisine type
  • Finally select the meal type you would like to have
  • Wait a few moments while we find the best recipes for you
  • You will then be shown a list of possible recipes that you can try according to your preferences.

Usage

The github URL containing the code for this challenge is located at:

https://github.com/Maelikah/P1_MealPreApp

The github pages URL containing the deployed webpage is located at:

https://maelikah.github.io/P1_MealPreApp/ to an external site.

Here are some screenshots for reference:

Screenshot 2023-04-25 at 20 36 22

Screenshot 2023-04-27 at 18 54 04

Screenshot 2023-04-27 at 18 38 02

Collaborators

Credits

License

N/A

About

Our coding project aims to develop a dynamic web app that empowers users to explore and discover new recipes, try new ingredients, cooking techniques, and cuisines allowing them to expand their culinary horizons and encouraging creativity in the kitchen by leveraging information gathered from popular websites like Edamam

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors