Created
June 24, 2019 07:22
-
-
Save priyankvex2/86d3a486c4b778f6b44e7d228d754a4c to your computer and use it in GitHub Desktop.
Wiring the DI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let pokemonDb = require('./pokemon_db_layer'); | |
let pokemonControllerFactory = require('./pokemon_controller'); | |
let pokemonController = pokemonControllerFactory(pokemonDb); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment