Added Notifications Microservice API - Integrated notification system with MongoDB, RabbitMQ consumer, and automatic status change notifications for reports
This commit is contained in:
16
src/infrastructure/api/notifications/app.py
Normal file
16
src/infrastructure/api/notifications/app.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""Notifications API Application Factory"""
|
||||
from fastapi import FastAPI
|
||||
from core.config import ConfSettings
|
||||
from infrastructure.api.notifications.router import router
|
||||
|
||||
|
||||
def create_app() -> FastAPI:
|
||||
"""Factory para crear la aplicación de Notificaciones"""
|
||||
app = FastAPI(
|
||||
title="Notificaciones Microservice",
|
||||
version="1.0.0",
|
||||
description="Microservicio de gestión de notificaciones"
|
||||
)
|
||||
app.include_router(router)
|
||||
|
||||
return app
|
||||
Reference in New Issue
Block a user