- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
10 lines
418 B
Python
10 lines
418 B
Python
"""
|
|
@subscriber Event Subscriber Registration (Backend/app/events/subscribers.py)
|
|
@purpose Subscribes domain handlers to event topics.
|
|
"""
|
|
from app.events.publisher import subscribe
|
|
from app.events.handlers.notification_events import handle_order_placed, handle_repair_completed
|
|
|
|
def register_subscribers():
|
|
subscribe("ORDER_PLACED", handle_order_placed)
|
|
subscribe("REPAIR_COMPLETED", handle_repair_completed)
|