- ๐ฌ Ask me about almost anything bicycle related
- ๐ Pronouns: He/Him
eld120 / cs50_commerce Goto Github PK
View Code? Open in Web Editor NEWcleaning up cs50w repo
License: MIT License
cleaning up cs50w repo
License: MIT License
As a user I expect to pay for an auction only if I win the item as one would expect on any ecommerce site or in an auction house.
##Story
As a user I want to be able to bid on any active listing so that I have a chance of winning the auction.
##Problem
Unfortunately currently users may submit negative bids to the db. This will not allow them to become the winning bidder but they will add cash to their account as an unintended consequence.
##Proposed Solution
-Add validation to the Bid model that raises an error if a user attempts to submit a negative bid
-create tests for negative bids
Owners of the listing should be able to manually/end a listing early from the listing detail view. This action should trigger the listing to end and for the highest bidder (if one exists) to be marked as the winner of the auction.
As an auction website we need a way to keep track of user spending without subtracting money from a user's account.
Users should be able to add/remove listings from their watchlist from the listing detail view.
create unit and E2E tests to validate functionality
As a new team we would like to implement a set of code standards to maximize code quality in our effort to find/correct bugs and maximize code readability so that contributors can minimize stress and maximize productivity.
Users should be able to bid on listings up to the full value of their cash on hand using their credit attribute.
As a auction admin I want users to be forced to exceed the current bid value if they are going to bid so that the auction experience matches what we would expect in real life.
Users can submit a bid in fractions of a penny - eg $xx.xxx instead of $XX.XX
additional form validation on the front end (I think this is sufficient)
A new bid equal to the value of the current bid still results in the withdrawal of the new bid's user's cash. This is not intended behavior.
As a developer/site admin I want my datetime objects to be saved and served as within django's best practices so that all users experience the site as intended (auctions start and end at the correct time for a given user's time zone).
Problem Statement
As an end user I should be able to tell from the listing detail page when the auction is going to end.
Proposed Solution
Implement a timedelta in django and decrement the timedelta in JS on the front end. (I think)
Looking at Redis/Celery for the following:
As a website superuser/admin I want Listings to automatically end when the Listing.end_date is reached/exceeded so that the auction schedule may proceed as planned
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.