November 2019
Beginner
804 pages
20h 1m
English
Now, we can implement the population service. This service will be responsible for handling the interactions with the World Bank APIs.
Here's how it should look:

Since we will be calling an API, our method calls cannot immediately return the results. We'll thus use promises again to indicate that the methods are asynchronous.
Also, we are now going to use modules, so we might as well make that clear in our UML diagram. We can do so using packages, which are simply containers for design elements:

Read now
Unlock full access