- Introduced email configuration for both development and production environments in `.env.dev.example` and `.env.production.example`. - Added SendGrid API key and email settings to support password reset and welcome emails. - Implemented password reset and request password reset endpoints in the AuthController. - Enhanced signup form to include additional fields such as Customer Number, address, nationality, date of birth, and gender. - Updated various services and controllers to integrate email functionality and handle new user data. - Refactored logging and error handling for improved clarity and maintainability. - Adjusted Docker configuration for production deployment.
12 lines
416 B
TypeScript
12 lines
416 B
TypeScript
import { Module } from "@nestjs/common";
|
|
import { HealthController } from "./health.controller";
|
|
import { PrismaModule } from "../common/prisma/prisma.module";
|
|
import { BullModule } from "@nestjs/bullmq";
|
|
import { ConfigModule } from "@nestjs/config";
|
|
|
|
@Module({
|
|
imports: [PrismaModule, ConfigModule, BullModule.registerQueue({ name: "email" })],
|
|
controllers: [HealthController],
|
|
})
|
|
export class HealthModule {}
|