This application stores a list of burgers, the diner(s) who have eaten them, and the quantity consumed. The application has two views:
- Burger View
- Diner View
-
The application is located as follows:
-
Heroku deployment: Burger Bucket List
-
GitHub repository: Burger Bucket List GitHub Repository
-
-
The application comes pre-loaded with some famous burgers as well as some diners.
-
The Burger View will display all the burgers in the database on the left side and a select box at the top to select a Diner.
-
Selecting a Diner will display all the Burgers that that individual has eaten along with the quantity on the right side of the page.
-
Once a Diner has been selected, clicking an
Eat-a-Burgerbutton will either add the Burger to the list on the right with a quantity of 1 or will add 1 to the quantity of a Burger already in the list. -
The
Add-a-BurgerandDelete-a-Burgerbuttons at the bottom of the page will display a modal that will allow the user to add a Burger to or remove a Burger from the database.
-
The Diner View is essentially the opposite of the Burger View in that it will display all the Diners in the database on the left side of the page and a select box at the top to select a Burger.
-
Selecting a Burger will display all the Diners who have eaten that Burger along with the quantity eaten on the right side of the page.
-
Once a Burger has been selected, clicking an
Eat-a-Burgerbutton will either add the Diner to the list on the right with a quantity of 1 or will add 1 to the quantity of a Diner already in the list. -
The
Add-a-DinerandDelete-a-Dinerbuttons at the bottom of the page will display a modal that will allow the user to add a Diner to or remove a Diner from the database.