The order-ms code

The order-ms structure has to be everything from the order-api service we created without users routes. So, that being said, the structure will be as follows:

The order-ms project structure

Now, we have to create a service account for the order-ms microservice on GCP, download the key, and generate a secure version of the key for Travis:

Service account for order-ms
When you download the key, move it to the order-ms project and rename it gce.json.

To generate a secure version for Travis CI, run the following command:

$ travis ...

Get Hands-On RESTful Web Services with TypeScript 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.