Skip to content

Instantly share code, notes, and snippets.

@twitchel
Last active February 5, 2022 09:18
Show Gist options
  • Save twitchel/af9e34283856dfb080f5c93237a8db94 to your computer and use it in GitHub Desktop.
Save twitchel/af9e34283856dfb080f5c93237a8db94 to your computer and use it in GitHub Desktop.
Recipes
const recipes = [
{
"id": 1,
"name": "Lemon Cake",
"image_url": "https://celebratingsweets.com/wp-content/uploads/2021/04/Lemon-Coconut-Cake-2.jpg",
"serves": 10,
"parts": [
{
"name": "cake",
"ingredients": [
"125 grams of butter, softened",
"3/4 cup caster sugar",
"2 eggs, at room temperature",
"2 cups self raising flour",
"1/4 cup lemon juice",
"1/4 cup milk",
"1 tsp lemon zest, finely grated",
"lemon zest strips, to decorate"
]
},
{
"name": "Lemon frosting",
"ingredients": [
"80 grams of butter, softened",
"1 1/2 cups icing sugar, sifted",
"1 tsp lemon zest",
"2 tbsp lemon juice (plus extra to taste)",
]
}
],
"steps": [
{
"description": "Preheat oven to 180°C (160°C fan-forced). Grease and line a 20cm round cake pan with baking paper."
},
{
"description": "Using an electric mixer, beat butter and sugar in a bowl until pale and creamy. Add zest and beat until mixed through. Add eggs, one by one, beating well after each addition."
},
{
"description": "Sift flour over butter mixture. Add juice and milk; stir to combine."
},
{
"description": "Spoon mixture into prepared pan; level surface. Bake for 30 minutes or until a skewer inserted at centre comes out clean (do not overcook)."
},
{
"description": "Once just-cooked, stand cake in pan for 5 minutes, then turnout onto a wire rack to cool completely."
},
{
"description": "To make lemon icing; use an electric mixer and beat butter and icing sugar until smooth and pale. Add lemon zest and lemon juice and beat to combine. Add more juice if needed to flavour."
},
{
"description": "Spread lemon icing over cooled cake. Serve sprinkled with zest to decorate.",
}
]
},
{
"id": 2,
"name": "Banana & Peanut Butter Training Treats",
"image_url": undefined,
"serves": 10,
"parts": [
{
"name": "Treats",
"ingredients": [
"1 banana, peeled & mashed",
"1 egg",
"2 tbsp natural peanut butter",
"1/4 cup plain flour",
"1/4 cup tapioca flour",
]
},
],
"steps": [
{
"description": "Preheat oven to 160°C fan-forced."
},
{
"description": "Add all ingredients into a large bowl and mix coarsely with spatula. Then use electric beater to beat mixture until combined and smooth (approx 2 mins)."
},
{
"description": "Spread mixture into treat moulds and wipe off excess from surface."
},
{
"description": "Bake in oven for 20 mins for slightly chewy treats, 25 mins for crunchy treats. Allow to completely cool."
},
]
},
{
"id": 3,
"name": "Pork Ribs",
"image_url": "https://www.recipetineats.com/wp-content/uploads/2016/01/Oven-Pork-Ribs-with-Barbecue-Sauce_4.jpg?resize=650,910",
"serves": 4,
"parts": [
{
"name": "Ribs",
"ingredients": [
"2 kg baby back pork ribs",
"2 tbsp olive oil",
]
},
{
"name": "Rub",
"ingredients": [
"2 tsp garlic powder",
"1 tsp onion powder",
"2 tsp paprika",
"2 tsp salt",
"1 tsp cracked black pepper",
"1 tsp cayenne pepper",
"1/2 tsp cumin"
]
},
{
"name": "Sauce",
"ingredients": [
"500ml smokey barbeque sause",
"3 tbsp garlic, minced",
"2 tbsp olive oil",
"2 tbsp tomato sauce",
"1 tbsp worcestershire sauce",
"1 tsp cracked pepper",
"1 tsp salt",
]
},
],
"steps": [
{
"description": "Preheat oven to 180°C."
},
{
"description": "Peel off tough membrane that covers the underside/bony side of the ribs. Place on a baking tray lined with foil."
},
{
"description": "Combine together RUB ingredients. Sprinkle over ribs and drizzle with oil. Rub the seasoning all over the ribs on both sides. Cover tray with foil and bake for 1-1.5 hours (depending on rib size)."
},
{
"description": "Mix together SAUCE ingredients and set aside."
},
{
"description": "Remove ribs from the oven, remove foil and spread the tops of the ribs with the sauce mixture."
},
{
"description": "Increase oven temperature to 220°C. Return ribs to the oven, uncovered, and bake for a further 10 minutes."
},
{
"description": "Then change oven settings to grill, on medium-high heat (200°C), to lightly char and caramelise the edges (about 3-5 minutes).",
},
{
"description": "Rest for 10 minutes to allow the juices to recirculate back into the meat before slicing.",
},
{
"description": "Serve with salad/side of choice.",
}
]
},
{
"id": 4,
"name": "Doggie Birthday Cake",
"image_url": "https://1.bp.blogspot.com/-G_ZrcfW2dcU/X1kt4oaU6NI/AAAAAAAAHt8/3BbFxIAG1eYWoy6k9anN_sl2BiBLlFEJACLcBGAsYHQ/s800/carrot%2Bbanana%2Bdog%2Bfox%2Bcake%2B3.jpg",
"serves": 1,
"parts": [
{
"name": "Cake",
"ingredients": [
"1/2 cup carrot, grated",
"1/2 cup plain flour, sifted",
"1/2 tsp baking soda sifted",
"1 egg, small",
"1 1/2 tbsp natural peanut butter",
"1 1/2 tbsp vegetable oil",
"1/2 tsp vanilla extract",
"2 tbsp honey"
]
},
{
"name": "Icing",
"ingredients": [
"1/2 butternut pumpkin",
]
}
],
"steps": [
{
"description": "Preheat oven to 175C. Line baking tray with baking paper. Grease 10cm round mould with spray oil."
},
{
"description": "Cut pumpkin in half into thick wedges. Place on prepared tray skin side down. Bake for 30-40mins or until soft and cooked through."
},
{
"description": "Meanwhile, combine the egg, peanut butter, oil, vanilla, and honey in a bowl; blend well with an electric mixer. "
},
{
"description": "Stir in the carrots and mix thoroughly. Add the flour and baking soda, and fold into the carrot mixture. Spoon cake batter into prepared pan. "
},
{
"description": "Bake in preheated oven (along with pumpkin) for 30 minutes. Let cake cool in pan for 10 minutes; then turn out onto a wire rack to cool completely."
},
{
"description": "Remove skin from pumpkin and use a masher (for chunky icing) or blend to puree (for smooth icing)."
},
{
"description": "Spread pumpkin icing on top of cooled cake. Top with treats!",
}
]
},
{
"id": 5,
"name": "Pancakes",
"image_url": "https://media.eggs.ca/assets/RecipePhotos/_resampled/FillWyIxMjgwIiwiNzIwIl0/Fluffy-Pancakes-New-CMS.jpg",
"serves": 12,
"parts": [
{
"name": "Pancakes",
"ingredients": [
"1 1/2 cups milk",
"1 egg, large",
"2 tsp vanilla extract",
"2 cup self raising flour, sifted",
"1/4 tsp bicarb soda, sifted",
"1/3 cup caster sugar",
"butter, to cook with",
]
},
],
"steps": [
{
"description": "Whisk milk, egg and vanilla together in a jug. "
},
{
"description": "Sift flour and bicarbonate of soda into a bowl. Stir in sugar. "
},
{
"description": "Make a well in centre of flour mixture. Add milk mixture. Whisk until just combined."
},
{
"description": "Heat a medium non-stick frying pan over low-medium heat. Add 1 teaspoon butter to pan and allow to melt completely. Pour in approx 1/3 cup of batter and cook for 3-4 minutes or until bubbles appear on surface. Turn and cook for 2-3 minutes or until cooked through. Transfer to a plate. Cover loosely with a tea towel to keep warm. Repeat with remaining batter, adding butter between each pancake. "
},
{
"description": "Serve"
},
]
},
{
"id": 6,
"name": "Zucchini & Corn Fritters",
"image_url": "https://www.eatwell101.com/wp-content/uploads/2018/05/Cheesy-Corn-Fritters-3.jpg",
"serves": 5,
"parts": [
{
"name": "Fritters",
"ingredients": [
"2 rashers middle bacon, rind trimmed, pat dry, roughly chopped",
"1 cup corn kernels, fresh (1 large cob)",
"1 zucchini, grated, excess liquid squeezed",
"1/3 cup self raising flour",
"2 eggs, lightly beaten",
"2 spring onions, thinly sliced",
"1 tbsp parsley, chopped",
"vegetable oil, for shallow frying",
]
},
],
"steps": [
{
"description": "In a bowl, combine bacon, corn, zucchini, flour, egg, onion and parsley. Season with salt & pepper."
},
{
"description": "Cover the base of a large non-stick frying pan with vegetable, and heat on medium. Heap 1/4 cup of mixture into the pan and press lightly to flatten. Cook for 3-4 minutes each side, until golden and cooked through. Do not overcrowd the pan. Drain on paper towel and keep warm."
},
{
"description": "Serve with pan roasted cherry tomatoes, poached egg, and chilli jam."
},
]
},
{
"id": 7,
"name": "Chicken and Corn Soup",
"image_url": "https://www.unileverfoodsolutions.lk/dam/global-ufs/mcos/meps/sri-lanka/calcmenu/recipes/LK-recipes/general/chicken-and-sweet-corn-soup/main-header.jpg",
"serves": 6,
"parts": [
{
"name": "Soup",
"ingredients": [
"8 cups chicken stock, divided into 7 parts and 1 part",
"2 tsp ginger, ground",
"500g chicken breast, cut in thick slices",
"1 tsp garlic powder",
"3 green onions, thinly sliced with the green and white parts divided",
"2 carrots, medium size, finely diced",
"420g corn kernels, can, drained",
"400g creamed corn, can",
"1/4 cup cornflour",
"5 eggs, large size, whisked",
]
},
],
"steps": [
{
"description": "In a large stockpot, stir together 7 cups stock, chicken, ginger, garlic powder, the white parts of the green onions, carrots, whole kernel corn and creamed corn until combined. Heat over medium heat until the soup reaches a simmer. Then reduce heat to medium-low, cover and simmer for about 10 minutes, or until the carrots have softened."
},
{
"description": "Remove chicken slices and shred the meat using a fork. Return shredded meat to soup."
},
{
"description": "In a separate bowl, whisk together remaining 1 cup stock and cornflour until combined. Stir the mixture into the soup and cook for 2 minute, or until the soup has thickened."
},
{
"description": "Turn the heat back up to medium-high and bring pot back to boil. Using a spoon, begin to swirl the soup slowly in a continuous motion. Drizzle the eggs into the soup in a steady stream whilst continuing to swirl the soup.The hot broth will instantly cook the eggs, and will form egg ribbons."
},
{
"description": "Taste and season with salt and pepper as needed. Serve warm, sprinkled with the remaining green parts of the green onions, and extra cracked pepper if needed."
},
]
},
{
"id": 8,
"name": "Lime and Coconut slice",
"image_url": "https://content.api.news/v3/images/bin/b9ad03a482af831f5460fcb805b85aa7",
"serves": null,
"parts": [
{
"name": "Slice",
"ingredients": [
"Lime Zest, from 3 limes, grated",
"1/3 cup Lime juice",
"250g Arnotts Marie Buscuits, 1 packet, crushed",
"250g sweetened condenced milk",
"1 cup desiccated coconut",
"80g butter, melted"
]
},
{
"name": "Lime Frosting",
"ingredients": [
"360g icing sugar, sifted",
"100g butter, softened to room temperature",
"1 tsp Lime zest",
"2 tbsp Lime Juice, extra to taste",
"3 tbsp desiccated coconut",
"Lime Zest, grate directly over slice at the end"
]
},
],
"steps": [
{
"description": "Grease and line a slice tin with baking paper."
},
{
"description": "In a bowl, mix together the crushed biscuits, coconut and grated lime zest."
},
{
"description": "Add melted butter, condensed milk and lime juice to the biscuit mixture (hold back some lime juice to adjust the moistness of the mixture). Mix thoroughly until well combined."
},
{
"description": "Press into the prepared tin. Place into the fridge."
},
{
"description": "Using an electric beater, in a bowl, beat the icing sugar, butter and lime juice in a bowl until creamy and 'frosting-like' - if the frosting is too thick to spread, add a little more lime juice."
},
{
"description": "Spread the frosting over the slice, sprinkle with the extra coconut, and grate lime zest directly over the slice. Chill in the fridge for at least 4 hours, preferably overnight."
},
{
"description": "Cut into slices. Store in an airtight container in the fridge for up to 1 week."
},
]
},
]
const cookbooks = [
{
id: 1,
name: "Breakfast",
recipes: [
5,
6,
]
},
{
id: 2,
name: "Mains",
recipes: [
3,
7
]
},
{
id: 3,
name: "Desserts",
recipes: [
1,
8
]
},
{
id: 4,
name: "Pet",
recipes: [
2,
4,
]
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment