Code Monkey home page Code Monkey logo

suhelkeswani / auctions Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 47 KB

Auctions is a mock e-commerce website made with Django, BootStrap, Python, HTML, and CSS where users can register to bid on other users' listings, leave comments on listings, add listings to their watchlist, and create their own listings

License: Creative Commons Zero v1.0 Universal

Python 67.40% CSS 0.07% HTML 32.53%
django python html css e-commerce-website website database cs50w

auctions's Introduction

Click the image for a Brief YouTube Demo of the Project!

Auctions

Auctions is a mock e-commerce auctioning website where users can register to bid on other users' listings, leave comments on listings, add listings to their watchlist, and create their own listings. This project was made as part of the online class CS50's Web Programming with Python and JavaScript by HarvardX.

Setup

Since this project is made with Django, having python and necessary python packages to run Django downloaded are necessary. In order to run the site, first clone the respository. Next, on a terminal window, change your directory into the repository and run the following lines of code to setup the database:

python3 manage.py makemigrations auctions
python3 manage.py migrate

Note that the previous lines of code are only required the first time the project is being run. After that, the database does not need to be setup again.

Last, to boot the server, you must run the following line of code:

python3 manage.py runserver

Once the server is booted, you will be provided with a URL to access the site. To shut down the server, use the keyboard shortcut cntrl + c while on the terminal.

Accessing the Admin page

To get a look at the structure of the models in the database, you can login to the admin page. In order to do this, add "/admin" after the URL (ex. http://127.0.0.1:8000/admin). Next, login with the following credentials: Username:suhel; Password:keswani. From here, you can view data stored and modify it.

auctions's People

Contributors

suhelkeswani avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

donfanning

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.