dannysunyu / auction_project Goto Github PK
View Code? Open in Web Editor NEWstanford database course project
stanford database course project
============================================================================== Part B ------------------------------------------------------------------------------ List of Relations - Item (id, name, buyPrice, firstPrice, started, ends, sellerId, description) - key: {id} - ItemCategory (itemId, category) - key: {itemId, category} - AuctionUser (id, isSeller, isBidder, rating, location, country) - key: {id} - Bid (itemId, bidderId, bidTime, price) - key: {itemId, bidderId, bidTime} -- one bidder can only bid for one item at each given time -- however, the document does not rule out the possiblity that a user account bid on different item at the same time ------------------------------------------------------------------------------ List of completely nontrivial functional dependencies - Item - none if excluding {id}->{all other attributes} - ItemCategory - none, since all attributes combined forms key - AuctionUser - none if excluding {id}->{all other attributes} - Bid - none if excluding {itemId, bidderId, bidTime} -> {price} ------------------------------------------------------------------------------ BCNF - All the relations are in BCNF. ------------------------------------------------------------------------------ List of nontrivial multivalued dependencies - Item - none - ItemCategory - none - AuctionUser - none - Bid - none ------------------------------------------------------------------------------ 4NF - All the relations are in 4NF. ------------------------------------------------------------------------------ For coming project parts: extension approach once online - Enter bids on items - require bidder id - check Item about auction end time - insert new entry in Bid - Close auction - identify bidder id and item id - determine bid winner - design scheme to automatically close auction upon end time - maybe allow seller optionally close auction before end time - Add new user - insert new entry in AuctionUser, make sure no duplicate id - ask user's interest in being seller/bidder/both - initialize rating to 0 - Add new auction - auto generate auction id - require user to fill in necessary information
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.