dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_SharedModule cluster_SharedModule_exports cluster_SharedModule_providers SharedService SharedService SharedModule SharedModule SharedModule->SharedService SharedService SharedService SharedService->SharedModule

File

src/provider/shared-api/shared.module.ts

Providers

Exports

import { Module } from '@nestjs/common';
import { HttpModule } from '@nestjs/axios';
import { SharedService } from './shared.services';
@Module({
  imports: [HttpModule.register({
    baseURL: process.env.SHARED_API_URL,
    timeout: 5000,
  })],
  controllers: [],
  providers: [SharedService],
  exports: [SharedService]

})
export class SharedModule { }

results matching ""

    No results matching ""