Skip to content

Latest commit

 

History

History
90 lines (52 loc) · 2.38 KB

README.md

File metadata and controls

90 lines (52 loc) · 2.38 KB

Subasta

Subasta is an auction ecommerce website similar to Ebay where users can list items and put them up for auction and whoever has the highest bid for that particular auctions wins the item

Features

Users are able to:

  1. Create account
  2. Create a listing
  3. Start an auction
  4. Bid on a particular auction
  5. Add items to their watchlist
  6. Close an auction
  7. Check active listings
  8. Make comments on an auction
  9. Win auctions

TECHNOLOGIES USED FOR THE BACKEND

Subasta is built using

  • PYTHON

    PYTHON

  • HTML

    HTML

  • CSS

    CSS

  • DJANGO

    DJANGO

  • BOOTSTRAP

    BOOTSTRAP

  • MARIA DB (database used)

    MARIADB

  • JAVASCRIPT

    JAVASCRIPT

Installation

To run this project on your machine. Make sure you have python3 installed on your machine. Create a virtual environment on your code editor using the command

virtualenv <name of environment>

If virtualenv is not installed on your machine. Install it or use this alternative to create a virtual environment

python -m venv <name of environment>

After virtual environment has been created. Install all packages listed in the requirements.txt file using the command below:

pip install -r requirements.txt

All packages should install without errors.

After package installation, generate a secret key in your terminal with the command below

from django.core.management.utils import get_random_secret_key

print(get_random_secret_key())

This generates a secret key. Copy the key

Create a .env file in the product directory

Input SECRET_KEY=<secret key copied from terminal>

Then run the python server with the command

python3 manage.py runserver

Preview

SUBASTA image 1

SUBASTA image 2