nest-project/src/auth/auth.module.ts

20 lines
524 B
TypeScript
Raw Normal View History

2023-02-16 01:18:55 +08:00
import { Module } from '@nestjs/common'
import { AuthService } from './auth.service'
import { AuthController } from './auth.controller'
import { PasswordService } from './password.service'
2023-02-16 01:18:55 +08:00
import { JwtService } from '@nestjs/jwt'
2023-02-16 15:43:38 +08:00
import { JwtStrategy } from './strategies/jwt.strategy'
2023-02-22 01:09:26 +08:00
import { EmailService } from 'src/email/email.service'
2023-02-16 01:18:55 +08:00
@Module({
controllers: [AuthController],
2023-02-22 01:09:26 +08:00
providers: [
AuthService,
JwtService,
JwtStrategy,
PasswordService,
EmailService,
],
2023-02-16 01:18:55 +08:00
})
export class AuthModule {}