Skip to content

Mindik/cs50web-project2-commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 2

CS50’s Web Programming with Python and JavaScript

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.”"

Project structure

  1. auctions

    Auctions Application Folder

    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.

  2. manage.py

    Main file Django

App appearance

Admin

Admin

Admin

The administrator can view, edit, delete and create any records.

Model

Model

Added new data models.

Main page

Main page

Main page

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.

Create Page

Create Page

Registered users can go to the page for creating a new auction. Title, description and starting price are required! Image categories and address - no.

Listing Page

Listing

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.

Listing

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.

Listing

If there are rates, then the new rate must be greater than the maximum. Otherwise, we will get an error.

Listing

All registered users can leave comments.

Listing

Listing

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.

Categories List

Categories

The Category List page displays a list of all categories and the number of unclosed auctions in each category.

Category

Category

You can see a list of auctions in this category.

Watchlist

Watchlist

The watchlist shows all monitored auctions, even after they have closed..

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors