Python Django E-Commerce Application
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
- Python
- Django
- SQLite
- Stripe Payments API
- PayPal Payments API
- Pytest
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.
😎
- Create a virtual environment (macOS/Linux)
# Set up virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Run Django Server
i. Run at your command terminal:
$ python manage.py runserver
- Django Site Login
Username: a@a.com
Password: djangoapp
- E commerce Website
i. Paste and Go:
http://127.0.0.1:8000/admin/
- Unit Testing
1. pip install pytest
2. pytest (Run from root)
3. pytest --ds=core.settings.base
- Django App:
- Django App Login:
- Admin Logged In As Customer:
- Customer Dashboard:
- Customer Orders Dashboard:
- Customer Edit Details Dashboard:
- Customer Manage Addresses Dashboard:
- Customer Manage Wish List Dashboard:
-
Project Refactor (Section 9): #TODO https://www.youtube.com/watch?v=ZE7dM0XmUoA
-
Pytest Testing including Factory Boy (Section 10): #TODO https://www.youtube.com/watch?v=WbZ9aIsvIBU&list=PLOLrQ9Pn6caxY4Q1U9RjO1bulQp5NDYS_&index=10
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