Skip to content
This is a clone of the Product Hunt website made using Django, Bootstrap and JavaScript where you can signup, login, add and view products. It also has an upvote functionality to it.
JavaScript CSS Python HTML
Branch: master
Clone or download

Latest commit

Latest commit 99a663e Dec 17, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
accounts fixed files Nov 2, 2019
media/images Merge pull request #1 from PragatiVerma18/imgbot Dec 17, 2019
producthunt Merge pull request #1 from PragatiVerma18/imgbot Dec 17, 2019
products fixed create.html Nov 2, 2019
static [ImgBot] Optimize images Nov 1, 2019
README.md Update README.md Nov 2, 2019
db.sqlite3 fixed files Nov 2, 2019
manage.py login signup done Nov 1, 2019
requirements.txt

README.md

ProductHunt-Clone-Django

This is a clone of the Product Hunt website made using Django, Bootstrap and JavaScript, deployed using Heroku. It uses django-heroku, gunicorn, Pillow and whitenoise for hosting on Heroku itself.

Overview

This web application creates an online catalog for some products, where users can browse available products, upvote them, add new products and manage their accounts.

The main features that have currently been implemented are:

  • There are models for products and users.
  • Users can view list and detail information for products.
  • Logged In Users can create, view and upvote models.
  • Admin users can create and manage models.

Resources Used:

Quick Start

To get this project up and running locally on your computer:

  1. Set up the Python development environment. I recommend using a Python virtual environment.
  2. Assuming you have Python setup, run the following commands (if you're on Windows you may use py or py -3 instead of python to start Python):
    pip3 install -r requirements.txt
    python3 manage.py makemigrations
    python3 manage.py migrate
    python3 manage.py collectstatic
    python3 manage.py createsuperuser # Create a superuser
    python3 manage.py runserver
    
  3. Open a browser to http://127.0.0.1:8000/admin/ to open the admin site
  4. Create a few test products to see the site in action.
  5. Open tab to http://127.0.0.1:8000 to see the main site, with your new objects.
You can’t perform that action at this time.