https://github.com/lipskiyp/e-commerce
CS50w Project 2: Django E-Commerce App
https://github.com/lipskiyp/e-commerce
django django-migrations django-models html5 python
Last synced: 3 months ago
JSON representation
CS50w Project 2: Django E-Commerce App
- Host: GitHub
- URL: https://github.com/lipskiyp/e-commerce
- Owner: lipskiyp
- Created: 2023-07-27T17:00:41.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-01T15:20:08.000Z (almost 3 years ago)
- Last Synced: 2025-06-13T05:48:20.809Z (about 1 year ago)
- Topics: django, django-migrations, django-models, html5, python
- Language: Python
- Homepage: https://cs50.harvard.edu/web/2020/projects/2/commerce/
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Commerce
CS50w Project 2: Django E-Commerce Website
The app let's users browse, bet and comment on e-bay like auctions, as well as create their own listings. The app supports auction watchlist.
### Specification:
### Video Demo:
### auctions/models.py
Contains Django models that define structure for the stored data:
* Listing - contains information about every listing.
* Bid - stores all user auction bids.
* Comment - stores all user comments.
* Watchlist - stores all items added to the user's watchlist.
* Winner - stores winners for every listing.
* Category - stores every listing's category.
### auctions/views.py
Contains views associated with each of the routes.
### auctions/urls.py
Contains URL configuration for the app:
* / - main page, shows all active listings.
* /login - login interface.
* /logout - logout interface.
* /register - register interface.
* /categories - sorts all listings in categories.
* /category/ - shows all active listings in a given category.
* /listing/ - show the listing.
* /create - let's user create a listing.
* /close/ - let's user closer a listing if he/she is the creator.
* /bid/ - let's user bid on the listing.
* /comment/ - let's user comment on the listing.
* /watchlist - shows user's watchlist.
* /watchlist_add/ - let's user add listing to their watchlist.
### auctions/templates/auctions
Contains HTML templates, in particular:
* index.html shows all active listings.
* listing_show.html displays information about a given listing.
* listing_create.html let's the user create their own listing.