Now, we have all of our services built together and can run the project as a whole using the runAll command as before. We also need to have an Akka-HTTP example from the previous chapter running and have enough inventory so that the boy can get some groceries from it:
The previous screenshot shows two Terminal windows: on the right the Akka HTTP shop from Chapter 14 is running and on the left the runAll command is ready to be executed. The runAll command takes some time to start all of the subsystems and produces a lot of output in the console.
After everything settles down, we can call our Manager service with an http client from another window:
curl -X "POST" "http://localhost:58866/bake/10"
This should produce output similar to the following in the Lagom Terminal:
Looks like it is time to enjoy the cookies! Well, not quite yet!