This is a simple e-commerce website built with Django (Python) and PayPal is added as payment processor.
I've made this as a "Jewelry Shop" website but you can make any website you like.
Project Demo on YouTube
Features of this Project
A. Admin Users Can
1. Manage Category (Add, Update, Filter and Delete)
2. Manage Products (Add, Update, Filter and Delete)
3. Manage Users (Update, Filter and Delete)
4. Manage Orders (View and Process)
B. Non-Registered Users Can
1. View Products (Can filter based on category)
2. Explore Product Details and Related Products
C. Registered Users Can Can
1. All of Non-Registered Users
2. Add to Cart
3. Pay with Paypal or Debit/Credit Card and Order
4. See the Order Status
5. See Order History
6. Update Profile
7. Change Password
8. Reset Password
How to Install and Run this project?
Pre-Requisites:
Install Git Version Control [ https://git-scm.com/ ]
Install Python Latest Version [ https://www.python.org/downloads/ ]
Install Pip (Package Manager) [ https://pip.pypa.io/en/stable/installing/ ]
Alternative to Pip is Homebrew
Installation
1. Create a Folder where you want to save the project
2. Create a Virtual Environment and Activate
Install Virtual Environment First
$ pip install virtualenv
Create Virtual Environment
For Windows
$ python -m venv venv
For Mac
$ python3 -m venv venv
Activate Virtual Environment
For Windows
$ source venv/scripts/activate
For Mac
$ source venv/bin/activate
3. Clone this project
$ git clone https://github.com/vijaythapa333/django-jewelry-shop.git
Then, Enter the project
$ cd django-jewelry-shop
4. Install Requirements from 'requirements.txt'
$ pip install -r requirements.txt
5. Add the hosts
Got to settings.py file
Then, On allowed hosts, Add [‘*’].
ALLOWED_HOSTS = ['*']
No need to change on Mac.
6. Now Run Server
Command for PC:
$ python manage.py runserver
Command for Mac:
$ python3 manage.py runserver
7. Login Credentials
Create Super User (Admin)
Command for PC:
$ python manage.py createsuperuser
Command for MAC:
$ python3 manage.py createsuperuser
Then Add Email, Username and Password
Download The Code
If the project was helpful to you and want to support me to create more free projects and free courses, then consider contributing from the button below.
PayPal[button_primary] Patreon[button_dark]
Comments