feat: add notification microservices and transactional outbox
Deploy To Ghaymah / quality (push) Has been cancelled
Deploy To Ghaymah / deploy (push) Has been cancelled

This commit is contained in:
boutmoun123
2026-08-05 14:46:12 +03:00
parent 2fd5322ef7
commit 8147f3b191
62 changed files with 2212 additions and 126 deletions
@@ -8,6 +8,7 @@ import { NotificationsService } from './notifications.service';
import { NotificationsRepository } from './notifications.repository';
import { Notification, NotificationSchema } from './schemas/notification.schema';
import { UsersModule } from '../users/users.module';
import { NotificationServiceClient } from './notification-service.client';
@Module({
imports: [
@@ -17,7 +18,12 @@ import { UsersModule } from '../users/users.module';
MongooseModule.forFeature([{ name: Notification.name, schema: NotificationSchema }]),
],
controllers: [NotificationsController],
providers: [NotificationsService, NotificationsRepository, NotificationsGateway],
exports: [NotificationsService],
providers: [
NotificationsService,
NotificationsRepository,
NotificationsGateway,
NotificationServiceClient,
],
exports: [NotificationsService, NotificationsGateway, NotificationServiceClient],
})
export class NotificationsModule {}