In this Design Exercise you'll build a device that could conceivably serve as a mobile objects-in-cart tracker. These are actually starting to appear, but the idea behind it is that as one pushed their grocery/shopping cart around the store and adds stuff, it keeps track of what has been added and displays the current tally. In some sense this serves as a mobile checkout, but the fact that it can be with you is extremely helpful.
We lack the ability to sense particular groceries using barcodes or NFC techniques in our 6.08 kit so instead we'll rely on user input which can take one of several forms:
The user should be able to specify the quantity of each grocery item added. The system will communicate with a server-side script including a database of your design and construction that keeps track of the current shopping tally for the user.
The user should be able to add an arbitrary number of an item to their list, including handling duplicate item additions (you realize you actually need one dozen more eggs than you already put in your cart)
Upon each POSTing of a new item, the server should respond with a tally of all items so far and price total for the cart.
For demonstration purposes, at least 12 grocery items with distinct prices must exist within the system.
The user should be able to check-out/reset the system.
Any questions on the spec, of course always feel free to post on Piazza.
Upload a video of your system working, as well as all of your code and any necessary comments below.
Error on line 2 of python tag (line 45 of file /S19/ex08/shopping_sorter): kerberos = cs_user_info['username'] KeyError: 'username'
SUBMIT ALL YOUR CODE AS A ZIP FILE BELOW (DOUBLE CHECK THAT YOU HAVE ZIPPED IT CORRECTLY). YOU WILL LOSE POINTS IF ALL FILES ARE NOT PRESENT!
\ / /\__/\ \__=( o_O )= (__________) |_ |_ |_ |_Course Site powered by CAT-SOOP 14.0.4.dev5.