dwyl / health

:green_apple: :lemon: :strawberry: :pear: :banana: :pineapple: :watermelon: :cherries:
12 stars 1 forks source link

Epic: Recipe Bank + Meal Plan + Ingredient/Prep Inventory #177

Open nelsonic opened 1 year ago

nelsonic commented 1 year ago

Health-Is-Wealth-Quotes

Why?

My father's recent colorectal cancer diagnosis has been an important reminder that "health is wealth". i.e: no amount of cash in the bank will buy you an extra day of life if you have terminal cancer. 😢 It's far easier to develop life-long healthy habits when you are young and still mentally flexible and still have time on your side to make the necessary changes that will improve your health and longevity.

Note: I'm not saying that my father has lost hope of "beating" his cancer. None of us have lost hope. My grandmother had (breast) cancer twice and still lived to 86 years old. 👵 In the end what "killed" her was being sent to an old-age home where she felt abandoned. But that's a topic for a whole other issue: douro.md

What?

We need to systematically solve the problem of "What to eat?", "How Much?" and "When?" once and for all.

  1. Healthy Recipe Bank - scraped from the internet Recipes should include precise nutrition information to help people know what they are consuming.
  2. Easy way to add new recipes - so we need to understand what makes a good recipe.
  3. Simple way to create a variation on existing recipes (similar to "Fork" in GitHub...)
  4. Meal Planner -
  5. Shopping list generator - this is where the app can make real cash; more on that later.
  6. Meal Inventory - how many meals do we have in the fridge/freezer?
  7. Profit Happiness!

Just as important as deciding what we should eat is having a list of the things we want to avoid and being able to easily share that list with others.

e.g. I'm trying to avoid sugar.

Who?

Creating this for myself. Need a system for my food that works like a well-oiled machine. It will be useful to other people in my life who want to focus on their nutrition and not have to constantly think about what they are going to eat today.

How?

The first step is: decide how we are going to store the recipe data. My preference is structured data. i.e: think about all the fields we want to capture up-front. This might sound like "waterfall" ... but I urge you to think about it as saving Dev time by making some effort in the planning stage.

Note: I'm not suggesting that we try to figure out all the UI/UX up-front. That would be a huge waste of time and would mean we'd never get started building.

Can we use https://github.com/forbesg/bbc-good-food-recipe-scraper as a starting point? 💭 Or is it going to be easier to write something from scratch that we can extend and maintain ourselves? 💭

Wait, Aren't We Building A "Todo List"...? 🤷‍♂️

Yes! One of the foundational features of our App is to Capture items. For now an item is just a block of text we can then Categorise the item eventually other forms of media e.g. photos, video)

But as noted in Figma: https://www.figma.com/file/WrpkKGJNYZbeCzMRDVtvQLbC/dwyl-app?node-id=1516%3A4909

image

We very much see Meal Planning as "Personal Effectiveness". i.e: if you want to live your best life and get your creative work done, you need to nail your nutrition by having a highly systematic approach.

Gotta step away from my desk now. Will have to return to this later ... ⏳

nelsonic commented 1 year ago

https://schema.org/Recipe as opposed to microformats. see: https://stackoverflow.com/questions/8310560/microformats-hrecipe-vs-schemas-recipe

nelsonic commented 1 year ago

Searching for "recipe API": https://www.google.com/search?q=recipe%20api Paid ad spot:

image

"Start for free" indeeed ... 🙄

https://suggestic.com/pricing.html image

Yes, that's not a typo, $4,900 per month billed annually. And their White Label Coaching App:

image

nelsonic commented 1 year ago

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

nelsonic commented 1 year ago

https://spoonacular.com/food-api/pricing image

nelsonic commented 1 year ago

https://www.google.com/search?q=bbc+goodfoods+api no luck.

nelsonic commented 1 year ago

Side Quest: https://github.com/dwyl/recipe-parser

carolrmc commented 1 year ago

https://www.healthyfood.com/healthy-recipes/

On Wed, Mar 29, 2023 at 9:38 AM Nelson @.***> wrote:

Side Quest: https://github.com/dwyl/recipe-parser

— Reply to this email directly, view it on GitHub https://github.com/dwyl/health/issues/177#issuecomment-1488169854, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF37S7XHFOM3UMQEY5OTWRDW6PYGZANCNFSM6AAAAAAWGOQUBY . You are receiving this because you are subscribed to this thread.Message ID: @.***>