Skip to content

AdiiPrabhu/django-ecommerce

 
 

Repository files navigation

JustDjango

The Definitive Django Learning Platform.

(https://github.com/justdjango/django-simple-ecommerce)

Django E-commerce

This is a very simple e-commerce website built with Django.

Quick demo

Old Site

alt text

New Updated Site and Design

image

Project Summary

The website displays products. Users can add and remove products to/from their cart while also specifying the quantity of each item. They can then enter their address and choose Stripe to handle the payment processing.

alt text


Running this project

To get this project up and running you should start by having Python installed on your computer. It's advised you create a virtual environment to store your projects dependencies separately. You can install virtualenv with

pip install virtualenv

Clone or download this repository and open it in your editor of choice. In a terminal (mac/linux) or windows terminal, run the following command in the base directory of this project

virtualenv env

That will create a new folder env in your project directory. Next activate it with this command on mac/linux:

source env/bin/active

Then install the project dependencies with

pip install -r requirements.txt

Now you can run the project with this command

python manage.py migrate
python manage.py makemigrations
python manage.py runserver

Note if you want payments to work you will need to enter your own Stripe API keys into the .env file in the settings files.


Follow the tutorial

This project is part of a series on YouTube that teaches how to build an e-commerce website with Django.


Support

If you'd like to support this project and all the other open source work on this organization, you can use the following options

Option 1: GitHub Sponsors

Sponsor through GitHub Sponsors. On GitHub, this repository shows a button where you can Sponsor the contributors.

Option 2: JustDjango

If you're learning Django and want to take your next step to become a professional Django developer, consider signing up on JustDjango.


Other places you can find us:

YouTube Twitter

Changes Done

Shop Page

Responsive layout

Multiple Objects and Orders

Updated and changed to latest version

Filtering

Order Summary and Order Snippet

Solved Issues

About

An e-commerce website built with Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.4%
  • CSS 13.2%
  • HTML 12.8%
  • SCSS 9.4%
  • Less 9.3%
  • Python 3.8%
  • PHP 0.1%