https://github.com/pragativerma18/producthunt-clone-django
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.
https://github.com/pragativerma18/producthunt-clone-django
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/pragativerma18/producthunt-clone-django
- Owner: PragatiVerma18
- Created: 2019-11-01T14:34:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T04:47:33.000Z (almost 3 years ago)
- Last Synced: 2023-03-03T01:46:14.574Z (over 2 years ago)
- Language: JavaScript
- Homepage: https://product-hunt-django.herokuapp.com/
- Size: 1.12 MB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/development_environment).
I recommend using a Python virtual environment.
1. 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
```
1. Open a browser to `http://127.0.0.1:8000/admin/` to open the admin site
1. Create a few test products to see the site in action.
1. Open tab to `http://127.0.0.1:8000` to see the main site, with your new objects.