Example: Data Model

In this lesson, we'll look at the upcoming coding example from the perspective of its data model.

We'll cover the following...

Data model for the database #

The database of the order microservice (see the drawing above) contains a table for the orders (Ordertable) and the individual items in the orders (OrderLine). Goods (Item) and customers (Customer) also have their own tables.

In the microservice ...