auth controller

This commit is contained in:
2024-02-29 11:24:23 -06:00
parent 99bcc77abf
commit 2eb34adc7c
4 changed files with 164 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
import { Module } from '@nestjs/common';
import { MailerModule } from '@nestjs-modules/mailer';
import path, { join } from 'path';
import { HandlebarsAdapter } from '@nestjs-modules/mailer/dist/adapters/handlebars.adapter.js';
import { fileURLToPath } from 'url';
import { AuthService } from './auth.service.js';
import { AuthController } from './auth.controller.js';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
@Module({
imports: [
],
providers: [AuthService],
controllers: [AuthController],
exports:[AuthService]
})
export class AuthModule {}