Platello is a web application that randomly generates food and drink recipes based on the user's preferences.

Overview

Platello

Overview

Platello is a web application that randomly generates food and drink recipes based on the user's preferences.

Upon loading the page, the site checks localStorage to determine if the user is new or a recurring guest. If the user is new to the site then a styled modal is presented to them and asks about their preferences for dishes, any exclusions, as well as drinks from a base alcohol. From there, an API will be called that will randomly return 3 meals related to their likings. And below that, another API will be called to return 3 drinks as well. Once the user has clicked on the boxes (one meal and one drink), another section will appear showing the user's food/drink along with their ingredients and recipes.

The user is then able to change their preferences and have new recipes generated based on their updated preferences.

Frameworks and APIs

Platello utilized the following Frameworks:

Future features

  • The user will eventually be able to favorite a box if they enjoyed the dish in a later update, which will be stored in localstorage, and will be displayed in the favorite section (at the bottom) for their next visit.

  • New recipes will cycle daily without the need for user input.

Links

Platello

Platello-GitHub

PreDevz Team

Cesar-Infante

Gilberto-Escobedo

Anthony-Quinones

Christian-McIlvenny

Website Pictures

  • Dark Mode

Platello website in dark mode

Platello website in dark mode

  • Light Mode

Platello website in light mode

Platello website in light mode

Comments
  • Add Cog button to change user's preferences

    Add Cog button to change user's preferences

    We should either add this icon/button in the top left or right of the food and drink section, or just have this in the nav bar, and make it show which one they want to change. But is essential in case the user accidentally picked an item or wants to change in general.

    opened by TDGNate 2
  • All hover effect

    All hover effect

    When the user hovers over a link it should turn to the dark blue PreDevs color. At the moment this only works when initially loading the page. If the user decides to switch between day and night mode then this effect breaks.

    The link hovering should still work regardless of theme being used.

    bug 
    opened by TonyQ032 2
  • Spoonacular Modal Link

    Spoonacular Modal Link

    Major reworks throughout the files, focusing almost entirely on the food modal and getSpoonApi().

    New changes

    • Linked user input from initial food modal. Any mixture of user cuisines and exclusions (when input according to the food modal guidelines) will now randomly generate three recipes that fit all the criteria
    • The recipes are stored in localStorage after being fetched initially so you can refresh the page and keep the recipes from before, without having to call the API again.
    • If user doesn't want to exclude any ingredients then that's no issue, the field can be left blank
    • getSpoonApi() is only ever called when the user is making a selection of their preferences. (i.e., when the user is selecting their preferences upon their first visit, or when they change their preferences using the button on the 'food' card)
    • Minor CSS changes
    • Bug tested thoroughly, there shouldn't be any issues merging into main (hopefully)
    opened by TonyQ032 1
  • Modals

    Modals

    Drink modal updated to check if a user has checked or unchecked a value and displaying it to the page, also adding the users preferences for base ingredient into an array and storing it in localStorage.

    opened by Cesar-Infante 1
  • Day/Night mode minor bug

    Day/Night mode minor bug

    The text "Cook time" and "Servings" in the "You've Selected" section do not change colors with the toggle of day and night mode.

    Screen Shot 2022-06-30 at 1 58 45 PM bug 
    opened by TonyQ032 1
  • getSpoonAPI() bug fix and optimization

    getSpoonAPI() bug fix and optimization

    Fixed a bug where the second card wouldn't load properly sometimes when the getSpoonApi() function was called. Also optimized much of the code for that specific function.

    opened by TonyQ032 1
  • Mobile Version Galaxy Fold

    Mobile Version Galaxy Fold

    The website looks awesome on all devices except on the galaxy fold. Body and main elements are all taking up the full width, but when viewed on the galaxy phone, 10% of the screen on the right side shows blank white from nav to footer. The boxes is what is creating it, and making the boxes any smaller than it already is, is going to make it look too thin on the other mobile devices. So maybe we can change or add something to it's parent elements.

    bug 
    opened by TDGNate 1
  • Background Images Don't Appear

    Background Images Don't Appear

    After merging the toggle branch to add a theme toggler feature, the backgrounds bug out when toggling on the deployed app. The white background doesn't appear anymore and the console logging an error, and after switching back to dark theme it also doesn't show BUT when we reload on the dark theme, then the dark background appears.

    bug 
    opened by TDGNate 1
  • Redo website appearance

    Redo website appearance

    The page currently has placeholder CSS and should be changed! Your task is to simply come up with a design that:

    -Can potentially have a day/night theme -Fits the theme of foods and drinks -Looks good 😎

    Lots of freedom with this one! Have fun!

    opened by TonyQ032 1
  • Create Footer Section

    Create Footer Section

    There already exists a <footer> section in the HTML.

    The task is as follows:

    Fill it out, make it look good, make it work!

    -Footer should display what CSS framework we used (preferably in icon form) -Footer should also display what APIs we used (Probably link them to the API page as well) -Should also display our names! We made the thing put our names there! (Should link to our GitHub pages) -Any links added should open them up in a separate page. Make sure to use target='_blank'

    -Make it look pretty! :)

    opened by TonyQ032 1
  • Add JS functionality to introductory modals

    Add JS functionality to introductory modals

    This issue requires the completion of the 'Introductory Modals' issue. JavaScript functionality will be added to the introductory modals. Your task is as follows:

    Food Choice Modal

    • Take the user's inputs from the food preference modal and save them to a javaScript variable/object.
    • Take the user's dislikes/exclusions and save them to a javaScript variable/object.

    Drink Choice Modal

    • Take the user's inputs from the drink choice preference modal and save them to a javaScript variable/object.
    • Take the user's dislikes/exclusions and save them to a javaScript variable/object.

    It is important to be consistent with your formatting of how you choose to store this info. These variables will be used to interact with the API so please make sure that all the variables follow the same format (whichever format you choose)

    opened by TonyQ032 1
  • Dots on card disappearing after data is returned

    Dots on card disappearing after data is returned

    As the title explains, when the food data is returned and loaded into the cards, the three dots that were previously there, disappear. They should still be present even when card is generated,

    bug 
    opened by TonyQ032 0
  • Add Save button on selected meal/drink

    Add Save button on selected meal/drink

    We have to add a save button some where on the top left or right to save their food's img, recipe, ingredients, and how long it takes to make it stored in local storage, and displayed in the favorite section for the next time they visit.

    how to get

    We can get the elements text contents directly from the html with .val() or .text() to store in a variable and to move that data in the fav section while also stored in local storage.

    opened by TDGNate 0
Owner
null
Landscape Generator is An open Source web application that generates landscape drawings randomly, then gives you the ability to edit it and export it as SVG or PNG.

Landscape Generator ## About Landscape Generator is An open Source web application that generates landscape drawings randomly, then gives you the abil

null 9 Apr 15, 2022
API for the Baby Food Introduction Application. Keep your baby's food introductions in check with this application and backtrack in case of allergies!

Baby food introduction API This API is part of the Baby Food Introduction application, which aims to help technological parents keep track of the food

David Alecrim 6 Nov 25, 2022
Big Chief is a website where you find and share everyday cooking inspiration. Discover recipes, cooks, videos, and how-tos based on the food you love.

Big Chief Big Chief is a website where you find and share everyday cooking inspiration. Discover recipes, cooks, videos, and how-tos based on the food

AVLESSI Matchoudi 7 Jun 1, 2022
This is food detection WebApp, which will tell users about the nutrients value of particular food image which they upload

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Ankush Gupta 3 Sep 8, 2022
A sweet MERN Stack app to add food recipes to your own Cook Book!

Welcome to LeCookBook ?? A sweet MERN Stack project, that lets you view, quicksearch, search by category and a randomizer with a cool UI. This page ha

Rene Ortega 2 Jun 3, 2022
Food Delivery APP is a website designed to provide interactive user experience and increase user engagement when ordering food delivery.

Food-Delivery-APP Features Food Delivery APP is a website built with HTML/Tailwind CSS/JavaScript, React and enhanced with 3D design using Spline to p

Qian Xiang 3 Oct 6, 2022
Login of app to remind to drink water, using Firebase tools like Firebase Auth and Firebase Firestore

Water Reminder Login App Menu Contents Motivation Final Images How to download the project and run it? Technologies utilized Dev ?? Motivation This ap

Ilda Neta 10 Aug 22, 2022
Tasty is a website that displays a number of recipes and allows users to leave likes and comments on their favourite meals.

Tasty Tasty is a website that displays a number of recipes and allows users to leave likes and comments on their favourite meals. Requirements Build a

Manel Hammouche 5 Aug 3, 2022
Bot that randomly posts 23,463 personalized license plate applications the California DMV received from 2015-2016 to Twitter every so often.

ca-dmv Bot that randomly posts 23,463 personalized license plate applications the California DMV received from 2015-2016 to Twitter every so often. Wa

rj 212 Dec 31, 2022
Functions Recipes is a library of examples to help you getting started with Salesforce Functions and get used to their main features.

Functions Recipes Introduction Salesforce Functions lets you use the Salesforce Platform for building event-driven, elastically scalable apps and expe

Trailhead Apps 172 Dec 29, 2022
MidJourney is an AI text-to-image service that generates images based on textual prompts. It is often used to create artistic or imaginative images, and is available on Discord and through a web interface here.

Midjourney MidJourney is an AI text-to-image service that generates images based on textual prompts. It is often used to create artistic or imaginativ

Andrew Tsegaye 8 May 1, 2023
Let's Chill is a web application that generates random movies from the tv Maze API.

Let's Chill Let's Chill is a web application that generates random movies from the tv Maze API. More information about the API can be found here Built

Nemwel Boniface 10 Aug 6, 2022
A single-page application that allows users to keep track of their books. Users can add the book details (book title and author) and also, and the books can also be removed. Built with JavaScript, HTML, and CSS

Project Name Awesome book with ES6 Description the project. This is a single page application that allows users to keep track of their books. Users ca

Micheal Oguntayo 4 Oct 13, 2022
A web application for a company that provides commercial and scientific space travel services. The application will allow users to book rockets and join selected space missions.

Space Travelers A web application for a company that provides commercial and scientific space travel services. The application will allow users to boo

Hector Torres 2 Apr 6, 2022