11
CS 3310 Semester Project 1

CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

Embed Size (px)

Citation preview

Page 1: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

CS 3310Semester Project

1

Page 2: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

Executive OverviewA healthy cuisine website wishes to create a web

application that allows users to search for recipes by criteria such as ingredients, tools used, and meal category. The web application frontend will access the main table which will contain individual recipe details. It will also access the supplementary ingredients, utensils, and meal category tables which will be linked to it by intersection tables, in order to facilitate searching by criteria.

Additional functionality in the form of cross-referenced nutritional information and a grocery inventory system is planned as well. In the interest of agile development, the recipe system will be the initial focus, with the secondary systems incorporated at a later date.

2

Page 3: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

E-R Diagram

3

Page 4: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

Relational Schema

4

Page 5: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

Data Dictionary

5

Page 6: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

SQL statements for creating tables and inserting records

into the tablesSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statementsSQL statements......

Page 7: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

List of Tables

7

Page 8: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

Tables

8

R_ID Recipe Description PrepTime Instructions

1Curry and Rice

Yellow Curry over Jasmine Rice

30

Add Curry Paste and Coconut Cream to Pan; Bring to a high simmer; Stir until thickened; Add rice and water in 1:2 ratio to rice cooker and turn on;

2Parsley Pesto on Angel Hair Pasta

Parsley & Walnut Pesto with Angel Hair Pasta

40

Combine 3 C Fresh Parsley, 1 C Fresh Basil, 3/4 C extra virgin Olive oil, 1 C Walnuts, 1 C Parmesan cheese, 1tsp honey, 1/8 tsp salt in processor; Blend until smooth; Bring salted water to boil; Boil pasta for ~4-5 mins

C_ID Categories

1 Entrée

2 Salad

3 Soup

4 Dessert

5 Appetizer

Recipes, Utensils, and Categories tables, with intersection table relating rows.

U_ID Utensils

1 Pan

2 Measuring Cup

3 Processor

4 Whisk

5 Teaspoon

U_ID R_ID

1 1

1 2

2 2

3 2

4 1

5 2

C_ID R_ID

1 1

1 2

Page 9: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

Tables - 2

9

I_ID Ingredients

1 Jasmine Rice

2 Water

3 Curry Paste

4 Coconut Cream

5 Parsley

6 Basil

7 Walnuts

8 Extra Virgin Olive Oil

9 Parmesan Cheese

10 Honey

11 Salt

Recipes & Ingredients Tables, with intersection tables relating rows

R_ID Recipe Description PrepTime Instructions

1Curry and Rice

Yellow Curry over Jasmine Rice

30

Add Curry Paste and Coconut Cream to Pan; Bring to a high simmer; Stir until thickened; Add rice and water in 1:2 ratio to rice cooker and turn on;

2Parsley Pesto on Angel Hair Pasta

Parsley & Walnut Pesto with Angel Hair Pasta

40

Combine 3 C Fresh Parsley, 1 C Fresh Basil, 3/4 C extra virgin Olive oil, 1 C Walnuts, 1 C Parmesan cheese, 1tsp honey, 1/8 tsp salt in processor; Blend until smooth; Bring salted water to boil; Boil pasta for ~4-5 mins

I_ID R_ID

1 1

2 1

3 1

4 1

5 2

6 2

7 2

8 2

9 2

10 2

11 2

11 1

Page 10: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

QueriesIngredient Search Query

Utensil Search Query

Category Search Query

10

Page 11: CS 3310 Semester Project 1. Executive Overview A healthy cuisine website wishes to create a web application that allows users to search for recipes by

Appendix

Future Work

A cross-referenced nutritional information system and a linked grocery inventory system would be added at a later date. This would entail finding a way to access a nutritional information database (or data warehouse) as well as possibly linking UPC codes for easier information retrieval.

11