초기 커밋

This commit is contained in:
2026-03-01 07:44:19 +09:00
commit 09359f30be
146 changed files with 6120 additions and 0 deletions

15
app/asgi.py Normal file
View File

@@ -0,0 +1,15 @@
import socketio
from app.communication.socketio.server import sio
from app.main import create_app
# Import namespace handlers to register them
import app.communication.socketio.events # noqa: F401
import app.communication.socketio.namespaces.device_ns # noqa: F401
import app.communication.socketio.namespaces.monitoring_ns # noqa: F401
import app.communication.socketio.namespaces.notification_ns # noqa: F401
fastapi_app = create_app()
# Socket.IO wraps FastAPI as the outermost ASGI app
app = socketio.ASGIApp(sio, other_app=fastapi_app)