Page 1 of 1

0..* has Shopping Cart + cartid + productID + quantity + dateAdded + addCartItem() + updateQuality() + viewCartDetails()

Posted: Sun Jul 03, 2022 12:00 pm
by answerhappygod
0 Has Shopping Cart Cartid Productid Quantity Dateadded Addcartitem Updatequality Viewcartdetails 1
0 Has Shopping Cart Cartid Productid Quantity Dateadded Addcartitem Updatequality Viewcartdetails 1 (36.26 KiB) Viewed 26953 times
There are two important things to check for here.
Firstly they are required to provide all the MongoDB commands(e.g. db.collectionname.insert), rather than a JSON output of theirdatabase from MongoDB. Reduce their mark by one criteria ifthey don’t give all their MongoDB code. If the screenshots inthe report show all the code then that’s fine.
Secondly, and probably most importantly, it should be adocument store implementation. Many studentsdon’t understand this and simply replicate their relational design,i.e. one collection per table.
I am looking for them to have appropriately used nesteddocuments, arrays, and documents with different properties in thesame collection (to show they understand that it’s asemi-structured schema), and also removes the need to store nulldata.
0..* has Shopping Cart + cartid + productID + quantity + dateAdded + addCartItem() + updateQuality() + viewCartDetails() + checkOut() 1 Customer + customerName + address + email + credit Card Info + shippingInfo + accountBalance + register() + login() + updateProvile() 1 place 0..* Order + orderld + date Created + dateShipped + customerName + customerld + status + shippingld + placeOrder() -register. has User + userld +password + loginStatus + registerDate + verifyLogin() -has a- Shipping + shippingld + shipping Type + shipping Cost + shippingRegionld + updateShippingInfo() 1 Administrator + adminName + email + updateCatalog() Product + orderld + productid + productName + quantity + unitCost + sub Total + calcPrice()