Skip to content
An example of DI in a typescript/node project
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
package-lock.json
package.json
tsconfig.json

README.md

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 mock service, internet!
    baseURL is  stage.myapi.com
    
You can’t perform that action at this time.