College Chef

Use-cases

Use-case 1: Log-In/Welcome Screen

Actors: The only obvious actor here is a “Chef” who interacts with other chefs, adds recipes, comments on recipes, and searches for recipes.

Title

Log-in/Welcome Screen Use-case

Actors

The user/ “Chef”

Goal

Page allows user to add new recipes, see their own profile, go to their favorite recipes (“My Cookbook”), see top chefs, see top recipes, and see recent comment on their own recipes and profile.

Pre-Condition

User has logged in to CollegeChef

Main Path

  1. User has logged in

  2. User chooses tabs to go to other options (other use-cases)

Use-case 2: My Cookbook Page

Actors: The only obvious actor here is a “Chef” who is in their “My Cookbook” page, a collection of their favorite recipes.

Title

My Cookbook Page

Actors

The user/ “Chef”

Goal

Page allows user to view their favorite recipes and access them.

Pre-Condition

User has logged in to CollegeChef

Main Path

  1. User is logged in

  2. User clicks on favorite recipe

Use-case 3: Top Chefs Page

Actors: The actor here is the Chef who can view the Top Chef’s in the College Chef application.

Title

Top Chef’s Page

Actors

The user/ “Chef”

Goal

Page allows user to view the Top Chef’s

Pre-Condition

User has logged in to CollegeChef

Main Path

  1. User is logged in

  2. Go to other top chef’s pages

Use-case 4: Top Recipe’s Page

Actors: The only obvious actor here is a “Chef” who is in their “My Cookbook” page, a collection of their favorite recipes.

Title

Top Recipe’s Page

Actors

The user/ “Chef”

Goal

Page allows user/Chef to see the top recipe’s on the site

Pre-Condition

User has logged in to CollegeChef

Main Path

  1. User has logged in

  2. User can go to the top recipes.

Use-case 5: A recipe page

Actors: The actor here is the chef/user when they are on a recipe page

Title

A Recipe Page

Actors

The user/ “Chef”

Goal

Page allows user to view

Pre-Condition

User has logged in to CollegeChef, and clicked on a recipe from search or top recipe’s page, or other chef’s page, or basically any recipe page.

Main Path

  1. User is logged in

  2. User views recipe

Use-case 6: Other Chef pages

Actors: The actor here is a chef who is viewing another chef’s page

Title

A Chef Page

Actors

The user/ “Chef”

Goal

Page allows user to view other chef’s page

Pre-Condition

User has logged in to CollegeChef, and found chef through search, Top Chefs, etc.

Main Path

  1. User is logged in

  2. User views chef profile

Alternate Paths

    1. Comment on chef

    2. See chef’s top recipes

    3. Rate chef

Use-case 7: Search Page

Actors: The actor here is the “Chef” who is searching for a recipe

Title

Search Recipe Page

Actors

The user/ “Chef”

Goal

Page allows user to search and view recipe list

Pre-Condition

User has logged in to CollegeChef, and clicked went to search page

Main Path

  1. User is logged in

  2. User goes to search page

  3. User selects meal type, if any

  4. User selects cuisine type, if any

  5. User enters first ingredient decimal amount

  6. User enters first ingredient unit type

  7. User selects ingredient category, which sets the subcategory dropdown menu

  8. User selects ingredient subcategory, which sets the specific ingredient dropdown menu

  9. User selects specific ingredient

  10. User clicks "Add" which creates a new line containing that ingredient's information above the fields to enter ingredient, and resets those fields

  11. User repeats steps 3 to 10 if they wish to enter more ingredients

  12. User selects tools (e.g. pots and pans) similarly to ingredients, if any

  13. User selects price range of total cost of ingredients, if any

  14. User selects time range of total time of cooking, if any

  15. User clicks search

  16. User is taken to results page

Alternate Paths

    1. User changes how the results list is displayed (sort by most recent, etc.)

Use-case 8:Add Recipe Page

Actors: The actor here is the “Chef” who is adding a recipe based on ingredients, price, time, type of cuisine, type of meal (breakfast, lunch, dinner, dessert, beverages), difficulty.

Title

Add Recipe Page

Actors

The user/ “Chef”

Goal

Page allows user/Chef to add their own recipe

Pre-Condition

User has logged in to CollegeChef, and clicked “AddRecipe” link.

Main Path

  1. User is logged in

  2. User clicks “Add Recipe”

  3. User enters name for recipe

  4. User selects meal type(s)

  5. User selects cuisine type(s)

  6. User enters first ingredient decimal amount

  7. User enters first ingredient unit type

  8. User selects ingredient category, which sets the subcategory dropdown menu

  9. User selects ingredient subcategory, which sets the specific ingredient dropdown menu

  10. User selects specific ingredient

  11. User clicks "Add" which creates a new line containing that ingredient's information above the fields to enter ingredient, and resets those fields

  12. User repeats steps 4 to 11 if they wish to enter more ingredients

  13. User selects tools (e.g. pots and pans) similarly to ingredients, if any

  14. User selects price range of total cost of ingredients

  15. User selects time range of total time of cooking

  16. User clicks add

Use-case Activity Diagram for Search