Django E-commerce Project v2 Part 2 - Inventory database development towards a test first approach

Django E-commerce Project v2 Part 2 - Inventory database development towards a test first approach

Welcome to the Django E-commerce project version 2. In this Django tutorial we focus developing an inventory app. The purpose of the inventory app database is to maintain the data that is needed to support online retail sales and stock inventory management. In this tutorial we focus on deploying the database design developed in the first tutorial.

Code Repository:
===
https://github.com/veryacademy/django-ecommerce-project-v2

The Book Referenced (there is not affiliated link, it is just a link to the book!):
===
Database Design for Mere Mortals: 25th Anniversary Edition Paperback – 28 Oct. 2020
https://www.amazon.co.uk/Database-Design-Mere-Mortals-Anniversary/dp/0136788041
===

Database ERD
====
https://lucid.app/lucidchart/invitations/accept/inv_10095ab4-1f6f-4247-a2d5-285a7c7b82de

Timeline:
====
📋 Introductions
====
00:00 Introduction
00:06 Recap part 1
00:45 Part-2 tutorial objectives
02:53 Installing Python & Visual Studio Code
📋 Phase-1
03:55 Start new project in VSC
04:26 Accessing the terminal in VSC
05:19 Start a new Virtual Environment and Django application
10:07 Starting to set-up the testing environment (installations)
13:20 First look at Selenium
15:45 Introducing test drive development practices
22:15 Using Pytest
27:38 Selenium building our first test - integrating with Pytest
01:00:34 Building our first fixture
01:04:38 Loading a data fixture with Pytest
📋 Phase-2
01:23:56 Starting to build the inventory tables
01:30:08 Category table tests
01:41:22 Category factory
01:53:48 Category model development
02:10:15 Building data fixtures for the category table
02:25:26 Loading data fixtures - creating a custom command
📋 Phase-3
02:36:35 Developing the product table tests
02:41:23 Creating tests for the product table
03:04:41 Developing the product model
03:09:29 Developing product table data fixtures
03:20:25 Developing the product factory
📋 Phase-4
03:31:07 Developing the product inventory tests
03:39:49 Developing the product inventory model + Brand and Type
03:46:39 Developing product inventory table data fixtures
03:50:12 Developing the product inventory factory
03:53:34 Developing product inventory table data fixtures
04:00:10 Brand and Type tests
📋 Phase-5
04:04:39 Building the media table tests
04:11:21 Building the media model
04:13:03 Building the media table fixtures
04:14:25 Building the media table factories
📋 Phase-6
04:18:07 Building the stock table tests
04:22:16 Building the stock table model
04:23:30 Building the stock table fixture
04:25:00 Building the stock factory
📋 Phase-7
04:27:46 Building the Product Attribute table, model
04:23:26 Building the Product Attribute factory
📋 Phase-8
04:35:11 Building the Product Attribute Value table, model
04:40:06 Building the Product Attribute Value factory
📋 Phase-9
04:46:56 Building the Product Attribute Values link table manually

Documentation
===
https://django-ecommerce-project-v2.readthedocs.io/en/latest/index.html

✨ Support us - join us as a Very Academy Member
https://www.youtube.com/channel/UC1mxuk7tuQT2D0qTMgKji3w/join

👍SUBSCRIBE to get more free tutorials, courses and code snippets!
http://www.youtube.com/channel/UC1mxuk7tuQT2D0qTMgKji3w?sub_confirmation=1

tddtest driven developmenttdd django

Post a Comment

0 Comments