Skip to content

trevor-atlas/Typescript-Inject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run these examples:

  1. clone the project and open a terminal at that location
  2. npm install
  3. npm run dev
    • you should see the console output:
    Hello from the mock service, internet!
    baseURL is  stage.myapi.com
    
  4. npm run prod
    • you should see the console output:
    Hello from the real service, internet!
    baseURL is  prod.myapi.com
    

About

An example of DI in a typescript/node project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •