Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Repository files navigation

Project 4

Application

  • Title: The Sundae King
  • An application that allows a user to buy customized sundaes and have them shipped to the address they specified.

Database

Primary tables:

  • basketitems : table which holds all individual items that a user currently has in their cart
  • baskets: table which stores the main instance of a basket per user
  • orders: table which stores the main information when an order is placed
  • orderitems: table which stores information about the individual items per order
  • flavors : table which stores all the flavors of ice cream
  • toppings: table which stores all the toppings and their prices
  • sizes: table which stores all the sizes and their prices

Pivot table(s):

  • basketitem_flavor: Links items in the basket to what flavors they are
  • basketitem_topping: Links items in the basket to what topppings they have
  • flavor_orderitem: Links items in an order to what flavors they are
  • orderitem_topping: Links items in an order to what toppings they have

CRUD

Create

  • Visit http://p4.maggiecroc11.me/show
  • Choose flavors, toppings, quantity, and size for new sundae
  • Click Add to Cart
  • Observe confirmation message which says how many items were added to your cart

Read

Update

  • Visit http://p4.maggiecroc11.me/cart; choose the Update button next to one of the items (once you've added an item to your cart)
  • Make some edit to form
  • Click Update Cart
  • Observe confirmation message

Delete

  • Visit http://p4.maggiecroc11.me/cart; click the Remove button next to one of the items (once you've added an item to your cart)
  • Confirm deletion
  • Observe confirmation message

Outside resources

  • I used some code for the nav and some css styling from foobooks

Resouces for Images

All images were used for educational purposes and found using google images

Code style divergences

None that I know of but may have missed on accident.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.