Skip to content

Frog-kt/typescript-dependency-injection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 16, 2022
b380c19 · Jul 16, 2022

History

4 Commits
Jun 17, 2022
Jun 17, 2022
Jul 16, 2022
Jun 17, 2022
Jun 17, 2022
Jun 17, 2022
Jun 17, 2022
Jun 17, 2022
Jun 16, 2022
Jun 17, 2022
Jun 17, 2022
Jun 17, 2022
Jun 24, 2022
Jun 17, 2022
Jun 24, 2022

Repository files navigation

typescript-dependency-injection

TSでDIやってみる

ディレクトリ構成

├── application
│   └── usecase         ... domain/serviceを用いてビジネスロジックを実行
├── domain
│   ├── entitiy         ...
│   ├── repository      ...
│   └── service         ...
├── helper
│   ├── error           ... エラーハンドラ
│   └── util            ... 共通処理
├── infrastructure
│   ├── repositoryImpl  ... domain/repositoryの実装クラス
│   └── serviceImpl     ... domain/serviceの実装クラス
└── presentation
    ├── controller      ... routerから呼び出される
    ├── handler         ... router関連
    ├── interceptor     ... controller共通処理
    └── security        ... 認証、CSRFトークン処理

About

TSでDIやってみる

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published