Skip to content

AAdewunmi/EBookStore-Django-App

Repository files navigation

Project Title:

Python Django E-Commerce Application

1. Project Description:

Python Django E-Commerce Application has the following functionalities:

  • Admin:
    • Login and Logout
    • Manage Customer Orders
  • Customer:
    • Login and Logout
    • Place, Track, View or Change an Order
    • Manage Account Security i.e. Edit Login Details, Email and Phone Number
    • Edit Shipping Addresses
    • View Wish List

2. Tech Stack:

  • Python
  • Django
  • SQLite
  • Stripe Payments API
  • PayPal Payments API
  • Pytest

3. Installation:

i. Clone the git repo

https://github.com/AAdewunmi/EBookStore-Django-App.git

ii. Open project folder

iii. Explore

Note:

Stripe and Paypal Payment API: Stripe and PayPal payment module's have been coded up (separately)

and individual SDK's installed. However, you will have to generate your own API keys for both modules.

😎

4. How To Use:

  1. Create a virtual environment (macOS/Linux)
# Set up virtual environment
python3 -m venv venv
source venv/bin/activate    # On Windows: venv\Scripts\activate
  1. Run Django Server

i. Run at your command terminal:

$ python manage.py runserver
  1. Django Site Login
Username: a@a.com
Password: djangoapp
  1. E commerce Website

i. Paste and Go:

http://127.0.0.1:8000/admin/
  1. Unit Testing
1. pip install pytest
2. pytest (Run from root)
3. pytest --ds=core.settings.base

5. Demo

  • Django App:

Screenshot 2024-08-24 at 09 41 02

  • Django App Login:

Screenshot 2024-08-24 at 09 41 54

  • Admin Logged In As Customer:

Screenshot 2024-08-24 at 09 42 18

  • Customer Dashboard:

Screenshot 2024-08-24 at 09 42 36

  • Customer Orders Dashboard:

Screenshot 2024-08-24 at 09 42 58

  • Customer Edit Details Dashboard:

Screenshot 2024-08-24 at 09 43 20

  • Customer Manage Addresses Dashboard:

Screenshot 2024-08-24 at 09 43 41

  • Customer Manage Wish List Dashboard:

Screenshot 2024-08-24 at 09 43 58

6: Product Backlog:

  1. Project Refactor (Section 9): #TODO https://www.youtube.com/watch?v=ZE7dM0XmUoA

  2. Pytest Testing including Factory Boy (Section 10): #TODO https://www.youtube.com/watch?v=WbZ9aIsvIBU&list=PLOLrQ9Pn6caxY4Q1U9RjO1bulQp5NDYS_&index=10

7. Adapted from:

Project Name: Django Ecommerce Projectv1 2021.

Created by: Very Academy (https://github.com/veryacademy)

Last updated: 01/02/2021

Youtube URL: https://www.youtube.com/watch?v=UqSJCVePEWU&list=PLOLrQ9Pn6caxY4Q1U9RjO1bulQp5NDYS_

GitHub URL: https://github.com/veryacademy/django-ecommerce-project