March 2018
Intermediate to advanced
310 pages
7h 10m
English
The pricing service is very similar to catalog service. It can be used to obtain prices for a pet using their names. Let's go straight to the implementation. Initially, we have to create the database. As before, we will use the PostgreSQL template:

As with the catalog service's database, we would also like to override the labels:

To populate the database, we have to create the following script:
vi pets.sql
Now, enter the sample data:
DROP TABLE IF EXISTS PRICE; CREATE TABLE PRICE (id serial PRIMARY KEY, item_id varchar ...
Read now
Unlock full access