main.py 400 B

123456789
  1. import uvicorn
  2. from src.api.main import app
  3. if __name__ == "__main__":
  4. # This file serves as a root-level wrapper for the DDD transition.
  5. # It redirects execution to the new API entry point in src/api/main.py.
  6. print("Redirecting to DDD Architecture Entry Point (src.api.main)...")
  7. print("Starting server... http://localhost:8000/docs")
  8. uvicorn.run(app, host="0.0.0.0", port=8000)