ucsb-cs56-webapps / ucsb-cs56-scrapstosnacks

gives recipe suggestions based on ingredient input
MIT License
4 stars 5 forks source link

Added class Recipe, Ingredient, and Form and Submit page #19

Closed rphammy closed 6 years ago

rphammy commented 6 years ago

Class Recipe is in file Recipe.java. This class has an ArrayList of Ingredient, as well as a String name, and String instructions. Class Ingredient is in file Ingredient.java. This class has a double amount, and a string name. Added a form page under /form/recipe. the file is addRecipe.mustache When a user inputs a new recipe in the form page, it will take them to the "submitted" page which displays their new recipe and its ingredients