Technical requirements
This chapter will focus on ordering and product management transactions. The application prototype for this chapter, an Online Shipping Management System, covers some generic product inventory, an ordering module, a basic shipping flow structure, and some parts of the delivery management module. This prototype comes in three different implementations suited for a complex and scalable Flask web application, namely, the following:
- The
ch02-factory
project that utilizes the application factory design pattern. - The
ch02-blueprint
project that uses the Flask blueprint. - The
ch02-blueprint-factory
project that uses both the application factory and blueprint structure.
Like in Chapter 1, the application uses PostgreSQL as a database, but this time with an ORM called SQLAlchemy. All these projects are uploaded at https://github.com/PacktPublishing/Mastering-Flask-Web-Development/tree/main/ch02.