from __future__ import annotations

import uvicorn

from gateway_core.utils.setupLogging import setupLogging
from gateway_node_agent.appFactory import buildApp

setupLogging(appName="gateway-node-agent")
app = buildApp()

def main() -> None:
    uvicorn.run(app, host="0.0.0.0", port=1898)

if __name__ == "__main__":
    main()
