BetsyRowley / menstrual-tracker

A full-stack application created for University of St. Thomas course SEIS739.
0 stars 1 forks source link

As a User, I want to be provided with types of food that are recommended for where I am in my cycle so that I can optimize my health. #12

Closed BetsyRowley closed 4 months ago

BetsyRowley commented 6 months ago

Feature Description

Use Case

User Action Action Result
User clicks on date from dashboard calendar Foods are displayed in the details section of the dashboard

Noun Extraction

Class Name: HormonePhase
Responsibilities Collaborators
Knows (Variables): phase names, phase descriptions. Can (Methods): gets phase & description Cycle, Exercise, Food
Class Name: Food
Responsibilities Collaborators
Knows (Variables): food type. Can (Methods): get food type Cycle, Exercise, Food
Class Name: Cycle
Responsibilities Collaborators
Knows (Variables): Date, Cycle Counter, Full Cycle. Can (Methods): calculates FullCycle & gets Cycle Day User

Narration

User: Viewer, send me more information about what kinds of foods I should be eating today. Viewer: Controller, the User wants to know what she should be eating today. Controller: Model, what hormone phase is the user in given the date that was selected? Model: Controller, she's in Phase 1. Pass that information back along with these tasty associated selections. Controller: Viewer, kindly display this food and phase information for our user.
Viewer: User, check out the food that is recommended for you today.