Skip to content

jgaffaney/Creative_Cook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creative_Cook

Creative Cook App / Client Project

License Repo Size TOP_LANGUAGE FORKS Stars

Creative Cook

Table of Contents

Description

Creative Cook is an application to encourage cooks of all different experience levels to branch out and try new things. The app allows a user to start by selecting an ingredient they would like to work with. Then, the app will suggest ingredients that pair well with the selected ingredient. After selecting a second ingredient, the app will provide suggestions for a third ingredient. The suggestions will pair well with either of the first two ingredients, or in the case of a "super combo", pair will with both of the already selected ingredients. The idea of a flavor trio to build a recipe off of is a long accepted practice in the culinary arts. After establishing a flavor trio, the app will search recipes across thousands of recipes on the internet and make suggestions based on your flavor combo and any health filters you need. The app will provide a basic description of the recipe and a link to the recipe hosted on the original website. This takes much of the work of finding a good recipe out of the process and allows the cook to focus on what they came here for, the food!

Screenshots

Screen Shot 2022-01-11 at 10 19 04 AM

Screen Shot 2022-01-11 at 10 19 27 AM

Screen Shot 2022-01-11 at 10 23 03 AM

Built With

Getting Started

This app uses PostgreSQL for database storage. There is a database.sql file in the repository containing database structure and initial data for ingredients and pairings.

Prerequisites

This app requires Node.js, Express.js, and PostgreSQL, on the back end.

You will also need an account with the Edamam Recipe API. (Directions below)

Installation

Start by forking and cloning the repository. Then, create a database titled "creative_cook" on the localhost. With the database established, run the SQL queries in database.sql to setup and populate tables in the database.

Edamam API

Click the link below and create a login.

https://developer.edamam.com/edamam-recipe-api

Next, select the Recipe Search API and sign up for a developer level API.

When you receive your develoer api key and id add a .env file to the parent directory. Add the following lines to your .env file

APP_KEY = "your api key here"

APP_ID = "your api id here"

Install Dependencies
  1. npm install
  2. npm run server
  3. npm run client

At this point the app will spin up in your browser on localhost:3000

Usage

There are many feature included in this app. The main goal of the app is to create a flavor combo using the combo tool and search, save, and select recipes based on the flavor combos.

Start by searching for an ingredient in the ingredient search bar. Select the desired ingredient from the list. The app will suggest and second ingredient. When you choose a second ingredient, the app will suggest a third ingredient. Those ingredients at the top and highlighted in green are considered "super combos" and pair well with the first two selected ingredients. Choose a third ingredient and the app will search and display recipes from across the internet using the Edamam Recipe API. You can then save a recipe or recipes. Clicking on "Start Recipe" on a recipe card will navigate you to the website that hosts that recipes. After cooking the recipe, return to the Creative Cook app and click on your profile. In the listed combos, click the checkmark next to the recipe you just cooked to update all of your metric with the new ingredients from the flavor combos used and mark the recipe as cooked.

An administrator can establish featured flavor combos and post them to the home page feed for all users to see using the "Feed" page.

License

MIT License

Acknowledgements

Thank you to Sean Little, our client and cooking expert. Thank you to the folks at Flavor Bible for working with the team and allowing use of many of their features. Thank you to the instructors and fellow classmate at Prime Digital Academy.

Contacts

About

Creative Cook App / Client Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published