Giter Site home page Giter Site logo

commerce's Introduction

Commerce

A Django web application designed as an e-commerce auction website with functionality such as:

  • User authentication
  • Posting auction items
  • Placing bids on items
  • Commenting on listings
  • Adding items to a watchlist

This is project 2 of the online course CS50 Web.

Project goals

  • Learning Django
  • Implementing MVC design
  • Understanding & implementing Django models and migrations
  • Creating relationships amongst tables (Django models)

Index

The index page displays a list of all active auctions. Initially, the auctions cannot be viewed in full detail until the user is logged in, so an account must be created to get access to all the features of the application.

Index page when user is not logged in:

Index page when user is not logged in

Index page when user is logged in:

Index page when user is not logged in

The features to be explained below all require the user to be logged in.

Creating an auction

You can create your own auction and have it displayed in the active listings page. The image and category field are optional, while the other fields are required.

Form for creating a listing:

Create a listing

Viewing an auction

You can click on an auction item to view full details about the item, including the item details, initial listing price, current bid price, and comments, if there are any.

If the seller of the item visits the auction page, they can choose to close the auction at the current price.

Otherwise, if a potential buyer visits the auction page, that user can add the auction to their watchlist, make a bid on the item, or add a public comment.

Visiting an auction as the seller:

Seller's view

Visiting an auction as a buyer:

Buyer's view (image 1/2) Buyer's view (image 2/2)

Watchlist

A user can items add to and remove items from their watchlist.

Watchlist

Search by category

Active listings can be filtered by category using the "Search by category" select menu.

A filtered search for items in the "gaming" category would look like this:

Gaming category

Profile

Users can check their own profile, which includes auctions they have listed and auctions that they have won.

Profile

commerce's People

Contributors

moostofa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.