Skip to content

PropShop Ecommerce Website With Django + React with Docker

Notifications You must be signed in to change notification settings

Saketh-Chandra/proshop_django

 
 

Repository files navigation

PropShop Ecommerce Website With Django + React

Live Demo can be viewed at https://www.buildproshop.com/

This project is from my Django + React collaboration wih Brad Traversy. Full Course: https://www.udemy.com/course/django-with-react-an-ecommerce-website/?couponCode=387F19CD4087385E87C1

DEMO

Features

  • Full featured shopping cart
  • Product reviews and ratings
  • Top products carousel
  • Product pagination
  • Product search feature
  • User profile with orders
  • Admin product management
  • Admin user management
  • Admin Order details page
  • Mark orders as delivered option
  • Checkout process (shipping, payment method, etc)
  • PayPal / credit card integration

Download & Setup Instructions

  • 1 - Clone project: git clone https://github.com/divanov11/proshop_django/
  • 2 - cd proshop_django
  • 3 - Create virtual environment: virtualenv myenv
  • 4 - myenv\scripts\activate
  • 5 - pip install -r requirements.txt
  • 6 - python manage.py runserver

Install react modules

  • 1 - cd frontend
  • 2 - npm install

🐳 Using Docker Compose

In production, Django uses a WSGI server such as Gunicorn and a web server such as Nginx.

Architecture:

my docker -2

Request Flow Diagram

⚙️ Setup .env file

  • Edit the .env file

## .env file, Don't Share it with anyone!

SECRET_KEY='sc%oco$+(3$z$at=z4j)#l-+ym)+_b11389mdt2^12m$bf63%@'
DEBUG = False
CORS_ALLOW_ALL_ORIGINS=True

## Super-User Credentials
SUPER_USER_NAME = 'root'
SUPER_USER_PASSWORD = 'root'
SUPER_USER_EMAIL = '[email protected]'

Usage

git clone https://github.com/Saketh-Chandra/proshop_django.git
cd proshop_django
docker-compose up --build

Run services in the background: docker-compose up -d

Run services in the foreground: docker-compose up --build

Inspect volume: docker volume ls and docker volume inspect proshop_django_staticfiles

View networks: docker network ls

Bring services down: docker-compose down

About

PropShop Ecommerce Website With Django + React with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.5%
  • CSS 26.9%
  • Python 10.2%
  • HTML 1.2%
  • Dockerfile 0.1%
  • Shell 0.1%