We are almost done. Now that all our layers are implemented, we only need to Bootstrap our application.
The entry point defined within index.html is src/world-explorer.ts. You should already have this file. Go ahead and open it now.
Here's the code for this file:
import {PopulationService, PopulationServiceImpl} from "services"; import {WorldExplorerHTMLView, WorldExplorerView} from "./views"; import {WorldExplorerControllerImpl, WorldExplorerController} from "./controllers"; console.log("WorldExplorer - Loading..."); const populationService: PopulationService = new PopulationServiceImpl('https://api.worldbank.org'); const view: WorldExplorerView = new WorldExplorerHTMLView(); const controller: WorldExplorerController = new WorldExplorerControllerImpl(populationService, view); interface...