8 lines
355 B
Python
8 lines
355 B
Python
import uvicorn
|
|||
|
|
from app.core.config import settings
|
||
|
|
|
||
|
|
if __name__ == "__main__":
|
||
|
|
print(f"🚀 Starting {settings.PROJECT_NAME} on http://localhost:{settings.PORT}")
|
||
|
|
print(f"📖 Interactive Swagger Docs available at: http://localhost:{settings.PORT}/docs")
|
||
|
|
uvicorn.run("app.main:app", host="0.0.0.0", port=settings.PORT, reload=settings.DEBUG)
|