The customer module provides a basis for further sales functionality of our web shop. At the very basic level, it is responsible for register, login, management and display of relevant customer information. It is a requirement for the later sales module, that adds the actual sales capabilities to our web shop application.
In this chapter we will be covering following topics:
Following the high level application requirements, defined under Chapter 4, Requirement Specification for Modular Web Shop App, our module will have a single Customer entity defined.
The Customer entity includes the following properties:
id: integer, auto-incrementemail: string, uniqueusername: string, unique, needed for login systempassword: stringfirst_name: stringlast_name: stringcompany: stringphone_number: stringcountry: stringstate: stringcity: stringpostcode: stringstreet: stringThroughout this chapter, aside from just adding the Customer entity and its CRUD pages, we also need to address the creation of login, register, forgot your password pages, as well as override a core module service responsible for building a customer menu.