Skip to content

Commit

Permalink
Added more ingredients and links to recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-cromwell committed Nov 3, 2022
1 parent 18bfa51 commit 3756bb7
Showing 1 changed file with 116 additions and 55 deletions.
171 changes: 116 additions & 55 deletions operations/populate.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,19 +199,6 @@ let ingredients = [
},
name: 'Bell Peppers'
},
{
amount: {
value: 1,
unit: 'ounce'
},
lifespan: {
pantry: {
value: 3,
unit: 'year'
}
},
name: 'Black Pepper'
},
{
amount: {
value: 1,
Expand Down Expand Up @@ -729,13 +716,16 @@ let ingredients = [
unit: 'head',
value: 1
},
attributes: {
type: 'Green Leaf'
},
lifespan: {
refrigerator: {
unit: 'day',
value: 12
}
},
name: 'Green Leaf Lettuce'
name: 'Lettuce'
},
/*
{
Expand Down Expand Up @@ -922,19 +912,6 @@ let ingredients = [
},
name: 'Jam'
},
{
amount: {
value: 1,
unit: 'head'
},
lifespan: {
refrigerator: {
value: 1,
unit: 'week'
}
},
name: 'Lettuce'
},
{
amount: {
unit: 'pound',
Expand Down Expand Up @@ -1202,6 +1179,22 @@ let ingredients = [
},
name: 'Panko Bread Crumbs'
},
{
amount: {
value: 1,
unit: 'ounce'
},
attributes: {
flavor: 'Smoked'
},
lifespan: {
pantry: {
unit: 'year',
value: 3
}
},
name: 'Paprika'
},
{
amount: {
unit: 'pound',
Expand Down Expand Up @@ -1232,6 +1225,22 @@ let ingredients = [
},
name: 'Peanut Butter'
},
{
amount: {
value: 1,
unit: 'ounce'
},
attributes: {
type: 'Black',
},
lifespan: {
pantry: {
value: 3,
unit: 'year'
}
},
name: 'Pepper'
},
{
amount: {
unit: 'jar',
Expand Down Expand Up @@ -1284,6 +1293,19 @@ let ingredients = [
},
name: 'Pork'
},
{
amount: {
value: 1,
unit: 'ounce'
},
lifespan: {
pantry: {
value: 2,
unit: 'year'
}
},
name: 'Quinoa'
},
{
amount: {
value: 1,
Expand All @@ -1308,12 +1330,13 @@ let ingredients = [
attributes: {
cooked: false,
lowHumidity: true,
opened: false
opened: false,
type: 'White'
},
lifespan: {
pantry: {
value: 6,
unit: 'month'
unit: 'month',
value: 6
}
},
name: 'Rice'
Expand All @@ -1326,12 +1349,13 @@ let ingredients = [
attributes: {
cooked: true,
lowHumidity: true,
opened: false
opened: false,
type: 'White'
},
lifespan: {
refrigerator: {
value: 3,
unit: 'day'
unit: 'day',
value: 3
}
},
name: 'Rice'
Expand All @@ -1352,7 +1376,23 @@ let ingredients = [
{
amount: {
value: 1,
unit: 'count'
unit: 'ounce'
},
attributes: {
type: 'Dried'
},
lifespan: {
pantry: {
unit: 'year',
value: 1
}
},
name: 'Rosemary'
},
{
amount: {
value: 1,
unit: 'ounce'
},
lifespan: {
pantry: {
Expand All @@ -1365,7 +1405,7 @@ let ingredients = [
{
amount: {
value: 1,
unit: 'group'
unit: 'stalk'
},
attributes: {
lowHumidity: true,
Expand Down Expand Up @@ -1678,42 +1718,63 @@ idZucchini = database.ingredients.find({ name: 'Zucchini' }, { _id: 1 })
*/

let recipes = [
// { name: 'Bacon, Egg, and Cheese' },
{
name: 'Chicken & Vegetable Quinoa',
ingredients: [
"Bell Peppers",
"Chicken",
"Chicken Broth",
"Garlic",
"Mushrooms",
"Olive Oil", // Extra Virgin
"Onion",
"Zucchini",
// Quinoa
// Chicken Broth (low fat)
// Spinach Leaves
// Olive Oil (extra virgin)
// Rosemary (Dried, Crushed)
// Paprika (Smoked)
// Pepper (Black)
// Salt
"Paprika", // Smoked
"Pepper", // Black
"Quinoa",
"Rosemary", // Dried, Crushed
"Salt",
// ? Spinach Leaves
"Zucchini"
]
},
{
name: 'Chicken Fried Rice',
ingredients: [
// Carrots
"Chicken",
"Eggs",
"Garlic",
// Peas
"Rice",
"Scallions"
// Soy Sauce
]
},
// { name: 'Chicken Fried Rice' },
{ name: 'Bacon, Egg, and Cheese' },
{ name: 'Hamburgers' },
// { name: 'Wings' },
// { name: 'Gyoza' },
// { name: 'Oyako Don' },
// { name: 'Sushi' },
{
name: 'Hamburgers',
ingredients: [
"Beef",
"Cheese", // American
"Lettuce", // Green Leaf
"Pepper", // Black
"Salt",
]
},
// { name: 'Baked Gnocchi & Broccoli' },
// { name: 'Blueberry Muffins' }
// { name: 'Bucatini Carbonara (Modern)' },
// { name: 'Meatballs' },
// { name: 'Chicken Saltimbocca Alla Romana' },
// { name: 'Classic Caponata' },
// { name: 'Italian Wedding Soup' },
// { name: 'Meatballs' },
// { name: 'One Pan Pasta' },
// { name: 'Oyako Don' },
// { name: 'Slow-Cooked Bolognese Sauce' },
// { name: 'Strawberry Nutella Semifreddo' },
// { name: 'Chicken Saltimbocca Alla Romana' },
// { name: 'Classic Caponata' },
// { name: 'Blueberry Muffins' }
// { name: 'Sushi' },
// { name: 'Wings' },
]

// Prep recipe documents for insertion
Expand All @@ -1738,4 +1799,4 @@ while (resultFind.hasNext()) {
print(tojson(resultFind.next()))
}
*/
print('======================================')
print('======================================')

0 comments on commit 3756bb7

Please sign in to comment.