mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-25 07:37:56 +00:00
authentication module done
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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 {}
|
||||
Reference in New Issue
Block a user