Skip to content

john-lawniczak/Commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 

Repository files navigation

Commerce

Project 2 for Harvard's CS50w Web Programming with Python and JavaScript.

๐Ÿ“น Youtube: https://www.youtube.com/watch?v=Qnhv8x9NEZI

Overview:

An e-commerce auction site which allows users to post listings, place bids, comment, and add listings to a watchlist.

Specifications:

Built with Python, Django, HTML/CSS, Bootstrap, and SQLite.

The site also makes use of Django's humanize template filters, intcomma and naturaltime.

To Run:

  1. Pip install Django
  2. In the terminal, cd into the commerce directory.
  3. Run python3 manage.py makemigrations commerce to make migrations for the commerce app.
  4. Run python3 manage.py migrate to apply migrations to the database.
  5. Run python3 manage.py runserver to start the Django web server and visit the website in the browser.

New Listing:

Users can create a new listing, specify a title, description, price, imageURL, and category.

Screen Shot 2023-01-20 at 4 54 58 PM

Categories:

Users can choose from a list of alphabatized categories: Art, Books, Clothing, Electronics, Food, and Other by clicking on the name of a category it takes the user to said category page.

Screen Shot 2023-01-20 at 4 54 04 PM

Active Listings:

The default route allows users to view all current active listings displaying: title, description, current price, and photo. If the user clicks on Details of a given listing, it will diplay more information per that listing such as: number of bids, last bid made,number of watchers, comments, and number of comments.

Screen Shot 2023-01-20 at 4 54 33 PM

Watchlist:

Users can add listings to their Watchlist page, which displays all of the listings a user has added to their watchlist.

Screen Shot 2023-01-20 at 4 55 13 PM

Close Auction:

If the user is the owner of the auction, they can close the auction, the winning bid price is displayed, and the user who won the auction will be notified they won the auction.

Screen Shot 2023-01-22 at 11 32 20 AM

Closed Listings:

Closed listings showcases the winner of each closed auction and the details therein.

Screen Shot 2023-01-22 at 12 14 09 PM

Data Models:

Using Django Admin and SQLite3 as the backend, the Python models are rendered to the Django framework alphabetically as Bids, Categorys, Comments, Listings, Users.

Screen Shot 2023-01-20 at 5 51 41 PM

But seriously whole stole... BOY WITH APPLE ๐Ÿ?

About

CS50w's Commerce - a fullstack E-commerce web application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published