Skip to content

Instantly share code, notes, and snippets.

@priyankvex2
Created June 24, 2019 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save priyankvex2/86d3a486c4b778f6b44e7d228d754a4c to your computer and use it in GitHub Desktop.
Save priyankvex2/86d3a486c4b778f6b44e7d228d754a4c to your computer and use it in GitHub Desktop.
Wiring the DI
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