feat: added smsService and sendOtp

This commit is contained in:
2026-07-23 18:42:12 +03:30
parent 7c4c83e5d8
commit f380b1267d
20 changed files with 369 additions and 14 deletions
+15
View File
@@ -0,0 +1,15 @@
import { Module } from '@nestjs/common';
import { AuthController } from './auth.controller';
import { AuthService } from './auth.service';
import { UtilsModule } from 'src/utils/utils.module';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from 'src/users/entities/user.entity';
import { OTP } from './entities/otp.entity';
import { OtpRepository } from './repositories/otp.repository';
@Module({
imports: [TypeOrmModule.forFeature([User, OTP]), UtilsModule],
controllers: [AuthController],
providers: [AuthService, OtpRepository],
})
export class AuthModule {}