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

This commit is contained in:
2026-04-22 07:38:28 +00:00
parent acd219c0fa
commit 4cac2f9321

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 {}