mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 07:07:21 +00:00
23 lines
667 B
TypeScript
23 lines
667 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { CommonService } from './common.service';
|
|
import { DatabaseModule } from './database/database.module';
|
|
import { HelperModule } from './helper/helper.module';
|
|
import { AuthModule } from './auth/auth.module';
|
|
import { ConfigModule } from '@nestjs/config';
|
|
import config from './config';
|
|
import { EmailService } from './util/email.service';
|
|
|
|
@Module({
|
|
providers: [CommonService,EmailService],
|
|
exports: [CommonService, HelperModule, AuthModule,EmailService],
|
|
imports: [
|
|
ConfigModule.forRoot({
|
|
load: config,
|
|
}),
|
|
DatabaseModule,
|
|
HelperModule,
|
|
AuthModule,
|
|
],
|
|
})
|
|
export class CommonModule {}
|