api_diff / run.py
kumudraj01's picture
port update
43435fd
Raw
History Blame Contribute Delete
621 Bytes
"""
API Comparator Service Runner
This module is the entry point for the API Comparator service. It configures and starts
the FastAPI application using uvicorn server with specified host and port settings.
"""
import uvicorn
from utils.logger import structlog
log = structlog.get_logger()
# Constants for server configuration
HOST = "0.0.0.0"
PORT = 7860
if __name__ == "__main__":
log.info("Starting API Comparator service, Host:%s, Port:%d", HOST, PORT)
uvicorn.run(
"main:app",
host=HOST,
port=PORT,
reload=True,
log_level="warning",
access_log=False
)