<aside> 🍎 @Module() 데코레이터 주석이 달린 클래스
</aside>
<aside> 🍎 Nest 가 어플리케이션 구조를 구성하는 데에 사용하는 메타데이터를 제공
</aside>
providers |
The providers that will be instantiated by the Nest injector and that may be shared at least across this module. |
---|---|
controllers |
The set of controllers defined in this module which have to be instantiated. |
imports |
The list of imported modules that export the providers which are required in this module. |
exports |
The subset of providers that are provided by this module and should be available in other modules which import this module. You can use either the provider itself or just its token (provide value). |
providers
를 기본적으로 캡슐화