-
Notifications
You must be signed in to change notification settings - Fork 0
Scenario 8: Searching for and Proposing a New Food Item
yusuf anil yazici edited this page Mar 18, 2025
·
2 revisions
Requirement Scenario: Searching for and Proposing a Food Item in the Affordable & Healthy Eating Hub
User Type: Regular User
Name: Arda (Health-conscious individual looking for affordable, nutritious food)
- Name: Arda
- Situation: Arda is a university student who wants to maintain a healthy diet while staying within a limited budget. He is interested in tracking the nutritional content of foods and exploring new food options that fit his dietary preferences.
- Goal: Find a nutritious food item in the database and, if missing, propose a new one with detailed nutritional values.
- The system contains at least 500 food items with nutritional details. (Requirement 1.1.1)
- Arda can search for food items using their exact name or sort results based on a macronutrient value such as protein, carbohydrates, or fat. (Requirement 1.1.2.1)
- The system provides a calculated nutrition score for each food item. (Requirement 1.1.3)
- Arda can submit a new food item if it is missing from the database, including mandatory macronutrient details and optional micronutrient data. (Requirements 1.1.2.1 & 1.1.2.2)
- Moderators can review and approve or reject new food item submissions. (Requirement 1.8.2)
- Arda searches for "Quinoa" in the food database. (Requirement 1.1.2.1)
- The system displays the exact match for Quinoa, including its nutritional values:
- Calories: 120 kcal per 100g
- Carbohydrates: 21g
- Protein: 4g
- Fat: 1.9g
- Nutrition Score: 8.5/10 (Requirement 1.1.3)
- Arda sorts the search results by protein content to compare quinoa with other high-protein options. (Requirement 1.1.2.1)
- Arda does not find "Teff" (a nutrient-dense grain) in the database and decides to propose it as a new food item. (Requirement 1.1.2.1)
- Arda submits the mandatory nutritional details for Teff:
- Calories: 101 kcal per 100g
- Carbohydrates: 20g
- Protein: 3.9g
- Fat: 0.6g
(Requirement 1.1.2.1)
- Arda optionally adds micronutrient data, including Iron (2.3mg per 100g) and Calcium (11mg per 100g). (Requirement 1.1.2.2)
- The system calculates a nutrition score for Teff. (Requirement 1.1.3)
- The new food item submission is marked as “Pending Review.” (Requirement 1.8.2)
- A Moderator reviews the Teff submission, verifies the nutritional data, and approves the addition to the database. (Requirement 1.8.2)
- Arda receives a notification that Teff is now available in the database.
- Arda successfully finds quinoa and compares it to other protein-rich foods.
- Arda proposes Teff, which is approved and added to the database, expanding the available healthy food choices.


-
Use Cases:
- Template
- Scenario 1: Community Sharing
- Scenario 2: For a Dietitian
- Scenario 3: Maintaining a Personal Inventory (as a Producer)
- Scenario 4: Proposing a Product and Adding a Recipe to Weekly Meal Plan
- Scenario 5: Creating a Meal Plan
- Scenario 6: Resetting Password
- Scenario 7: Moderator Actions
- Scenario 8: Searching for and Proposing a New Food Item
- Scenario 9: Budget-Conscious Grocery Shopping
- Scenario 10: Creating a New Store
- Scenario 11: User Profile Management
- Git: In a Nutshell
- Example GitHub Repositories
- System Modeling & UML
- Frontend Tutorial
- Frontend Roadmap
- Frontend Styling Guide
- Docker Summary
- Writing Endpoints
- Yusuf AKIN
- Arda SAYGAN
- Fatih Furkan Bilsel
- Berk GOKTAS
- Berkay BILEN
- Yusuf Anıl YAZICI
- Taha Topaloglu
- Nuri Basar
- Onur Kucuk
- Hasancan Keles
- Mete Damar