Skip to content

Commit e9bd2e7

Browse files
authored
docs: adds Martha's user stories for lesson 05 (#249)
* feat: add README of user stories for lesson 05 * feat: add acceptance criteria
1 parent 8dec0fd commit e9bd2e7

File tree

1 file changed

+30
-0
lines changed
  • lesson_05/marthao/myfitnesspal-user-stories

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
### User Stories
2+
3+
1. As a dieter, I want to scan the barcodes of the foods I eat, so that I can automatically get their nutrition facts.
4+
5+
2. As a fitness enthusiast, I want to track my macronutrients, so that I can make sure I am meeting my daily intake goals.
6+
7+
3. As a fitness enthusiast, I want to find recipes based on a particular diet, so that I can cook foods that align with my fitness goals.
8+
9+
### Acceptance Criteria
10+
1A. The barcode scanner should work with the device's native camera.
11+
12+
1B. There should be an API integration with a database of foods and their nutrition facts.
13+
14+
1C. The barcode should return the food item that exactly matches the universal product code (UPC).
15+
16+
1D. Upon scanning, the full nutrition facts should be automatically returned and displayed to the user.
17+
18+
1E. If an exact match based on the UPC is not found, the closest matching product should be returned.
19+
20+
2A. All food results should highlight the amount of carbs, protein, and fat in the product.
21+
22+
2B. Users should be able to see a pie-chart breakdown of their daily macronutrient intake in their dashboard.
23+
24+
3A. There should be a database of curated recipes categorized by common diets and lifestyles.
25+
26+
3B. The nutrition facts should be pre-determined for each available recipe.
27+
28+
3C. Users should be able to directly log the macronutrients and calories of the recipe to their food diary.
29+
30+

0 commit comments

Comments
 (0)