Commit Graph

21 Commits

Author SHA1 Message Date
Christopher C. Wells 1c420bc624 Remove remaining FoodAmount references 2021-01-23 10:33:25 -08:00
Christopher C. Wells 670d6127ca Refactor Recipe to support IngredientAmount (WIP)
Only Food IngredientAmounts are supported currently.
2021-01-23 10:33:25 -08:00
Christopher C. Wells 19eac25413 Update nutrient calculation for IngredientAmount 2021-01-23 10:33:25 -08:00
Christopher C. Wells 5ded6bfce6 Create IngredientAmount class
This class will replace FoodAmount when it has proper support for
calculating nutrients for FoodAmount and Recipe combinations.
2021-01-23 10:33:25 -08:00
Christopher C. Wells 13f1302132 Add initial Recipe support to ingredient picker (WIP)
A new class it likely needed here -- IngredientAmount -- to support either a
Food or a Recipe.
2021-01-23 10:33:25 -08:00
Christopher C. Wells ba7cd55503 Write IDE helper content directly to models 2021-01-18 13:33:21 -08:00
Christopher C. Wells 70c9396d0f Add `source` field to Recipe model 2021-01-18 09:22:08 -08:00
Christopher C. Wells d99d49777b Add IDE helper for better handling of Laravel builders 2021-01-03 08:40:16 -08:00
Christopher C. Wells ab10dd0342 Use slugs for recipe and food routes 2021-01-01 20:34:55 -08:00
Christopher C. Wells c1ddb061df Add basic journal entries index (WIP) 2021-01-01 15:05:36 -08:00
Christopher C. Wells dfad48c71d Refactor journal entries to record nutrients directly 2021-01-01 09:50:19 -08:00
Christopher C. Wells 2dd92c8d3a Refactor "ingredients" as "foods" 2020-12-30 15:06:22 -08:00
Christopher C. Wells 545e4c0b5e Add recipe list view 2020-12-30 14:00:04 -08:00
Christopher C. Wells aa9b504653 Add JSON:API via `cloudcreativity/laravel-json-api` 2020-12-22 22:16:18 -08:00
Christopher C. Wells 00eb252995 Use overloading in Recipe class 2020-12-22 20:07:24 -08:00
Christopher C. Wells e3e84c2e13 Add nutrients per serving methods to Recipe 2020-12-22 15:15:41 -08:00
Christopher C. Wells 013baa88fc Refactor on base 100g unit 2020-12-22 15:08:49 -08:00
Christopher C. Wells 2d1990d415 Add RecipeStep model 2020-12-21 21:23:38 -08:00
Christopher C. Wells 361d3b3a07 Add nutrient sum methods to IngredientAmount and Recipe 2020-12-21 20:56:23 -08:00
Christopher C. Wells 790e1af828 Add example total calories getter 2020-12-21 19:38:58 -08:00
Christopher C. Wells d54ad13460 Add Recipe model 2020-12-21 15:25:10 -08:00