初始化

This commit is contained in:
lhx
2025-12-12 10:57:31 +08:00
commit f8e85beba1
38 changed files with 2146 additions and 0 deletions

16
main.py Normal file
View File

@@ -0,0 +1,16 @@
import uvicorn
from app.main import app
from app.core.config import settings
from app.core.logging_config import setup_logging
if __name__ == "__main__":
setup_logging()
uvicorn.run(
"app.main:app",
host=settings.APP_HOST,
port=settings.APP_PORT,
reload=settings.APP_DEBUG,
access_log=True,
log_level="info"
)