Skip to content

dvorakjt/undecorated-di-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

undecorated-di Sample App

This is a sample application which employs undecorated-di to power dependency injection and inversion of control. This application illustrates:

  • Basic usage of the undecorate-di package
  • The type-safety provided by undecorated-di
  • Polymorphic behavior made possible with undecorated-di
  • Suggested file structure / organization of classes, interfaces and interface keys when using the project

To experiment with this simple example, clone the repo and CD into the application folder. Run:

npm install

Take a moment to review the TypeScript files and notice the type-safety and polymorphic behavior provided by the package, as well as the suggested file structure.

To run the sample application, first run:

npm run build

Then:

npm run start

Happy dependency injecting!

About

A simple project illustrating the use of undecorated-di for dependency injection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published