Upload
mikebegley
View
151
Download
0
Embed Size (px)
Citation preview
WishE - Manage your wishlists
Alpha Ng [email protected] Matias [email protected] Begley [email protected]
Original idea: GrocR
• Allow users to monitor stores for items that are purchased periodically (like buying milk once a week)
• User would be informed of the best deals on their groceries
• Make comparison shopping automatic
Data relationships
• One or more users could maintain a list of items and an email address for notifications
• A list contain 0 or more items
• An item is a product (SKU) as well as a purchase interval and a quantity
• A product contains basic product information
• A store contains a list of products, and a set of store locations
• A store location gives the address for a store
• Products would be filled up by searches to an external API containing pricing data
Would have been a great idea!• Except we couldn’t find an API that reliably gave out pricing information.• SupermarketAPI.com claims to perform this service.
• Unfortunately, it doesn’t.
Refactoring the concept: WishE
Refactored the user, list, list_item and product models to support an application that can maintain a list of products on an E-commerce site
New user story: allow an E-commerce site user to maintain a list of items as a wishlist
A refactored data model
• A product list contains info about a product available in the store
• Admins can CRUD products in the store
• Standard users maintain a list of items.
• Each item in the list is a product
Relationships:• User has one List• A list may have many
products• A product may be a
member of many lists
A clear data model made it EASY to divide up work
• Alpha implemented Lists and List items• Alec implemented Users and the overall UI
design• Mike implemented Products and seed data
Issues we ran into(besides having our idea squashed by crappy APIs)
Gems we used
Future work