Project completed in CS50W course.
The project was implemented in PyCharm 2020.1.2 (Professional Edition). Applied technology Django, HTML5, CSS3 (SASS).
The task can be viewed at the link - Project 2: Commerce.
"Design an eBay-like e-commerce auction site that will allow users to post auction listings, place bids on listings, comment on those listings, and add listings to a “watchlist.”"
-
Auctions Application Folder
-
Contains images and CSS files
-
SASS file containing CSS markup for all pages of the application.
-
Page Templates
File url for Encyclopedia Application
A view function, or view for short, is a Python function that takes a Web request and returns a Web response.
View file for database records.
-
-
Main file Django
The administrator can view, edit, delete and create any records.
Added new data models.
The main page displays a list of all open auctions, divided into pages. Each auction shows the author, title, short text, starting price, image, categories and creation date.
Registered users can go to the page for creating a new auction. Title, description and starting price are required! Image categories and address - no.
The auction page allows the author to close it and designate a winner if bids have been made. Other users can place bids on the page.
If there are no bets yet, then the new bet must be at least equal to the starting one. If this is not the case, we will receive an error message.
If there are rates, then the new rate must be greater than the maximum. Otherwise, we will get an error.
All registered users can leave comments.
The author of the auction can close it, and the winner will receive a notification and an icon for the number of auctions won.
Creating an auction and adding a bid will automatically add the auction to the watched list.
The Category List page displays a list of all categories and the number of unclosed auctions in each category.
You can see a list of auctions in this category.
The watchlist shows all monitored auctions, even after they have closed..














