chore: initial project scaffold: backend/src/auth/auth.module.ts

This commit is contained in:
2026-04-13 15:13:42 +00:00
parent bf69e81c0b
commit b2b10e1c30

View File

@@ -0,0 +1,11 @@
import { Module } from '@nestjs/common';
import { PassportModule } from '@nestjs/passport';
import { JwtStrategy } from './jwt.strategy';
import { JwtAuthGuard } from './jwt-auth.guard';
@Module({
imports: [PassportModule.register({ defaultStrategy: 'jwt' })],
providers: [JwtStrategy, JwtAuthGuard],
exports: [JwtAuthGuard],
})
export class AuthModule {}