mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-27 00:54:54 +00:00
feat: registration jounrey for parents
This commit is contained in:
@ -4,10 +4,13 @@ import { APP_FILTER, APP_PIPE } from '@nestjs/core';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { I18nMiddleware, I18nModule } from 'nestjs-i18n';
|
||||
import { LoggerModule } from 'nestjs-pino';
|
||||
import { AuthModule } from './auth/auth.module';
|
||||
import { OtpModule } from './common/modules/otp/otp.module';
|
||||
import { AllExceptionsFilter, buildI18nValidationExceptionFilter } from './core/filters';
|
||||
import { buildConfigOptions, buildLoggerOptions, buildTypeormOptions } from './core/module-options';
|
||||
import { buildI18nOptions } from './core/module-options/i18n-options';
|
||||
import { buildValidationPipe } from './core/pipes';
|
||||
import { CustomerModule } from './customer/customer.module';
|
||||
import { migrations } from './db';
|
||||
import { DocumentModule } from './document/document.module';
|
||||
import { HealthModule } from './health/health.module';
|
||||
@ -25,10 +28,12 @@ import { HealthModule } from './health/health.module';
|
||||
inject: [ConfigService],
|
||||
}),
|
||||
I18nModule.forRoot(buildI18nOptions()),
|
||||
HealthModule,
|
||||
|
||||
// Application Modules
|
||||
// App modules
|
||||
AuthModule,
|
||||
CustomerModule,
|
||||
DocumentModule,
|
||||
HealthModule,
|
||||
OtpModule,
|
||||
],
|
||||
providers: [
|
||||
// Global Pipes
|
||||
|
||||
Reference in New Issue
Block a user