Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/baxtergu/typescript-ioc-di-sample

Simple example for illustation of [DI framework principle]. Built in typescript and for personal learn purpose only.
https://github.com/baxtergu/typescript-ioc-di-sample

Last synced: 26 days ago
JSON representation

Simple example for illustation of [DI framework principle]. Built in typescript and for personal learn purpose only.

Awesome Lists containing this project

README

        

# TypeScript IOC & DI Sample

> Inspired by: [如何基于 TypeScript 实现控制反转](https://zhuanlan.zhihu.com/p/311184005)

## How to use

### Just Run It

```shell
# after install all dependencies then run
yarn start
# check the termial to see the output
```

### Debug

This sample include VSCode config file for debug. Open repository folder with VSCode, insert any `breakpoint` you want then press `F5`. The project will run in debug mode though.