Files
AIRegulation-DocAnalysis/backend/main.py

23 lines
456 B
Python

"""Convenience launcher for the migrated backend app."""
import uvicorn
from app.config.settings import settings
# Keep module behavior explicit so the backend flow stays easy to audit.
def main() -> None:
"""Run the module entrypoint."""
uvicorn.run(
"app.main:app",
host=settings.api_host,
port=settings.api_port,
reload=settings.debug,
log_level="info",
)
if __name__ == "__main__":
main()