13 lines
312 B
Python
13 lines
312 B
Python
from fastapi import FastAPI
|
|
from routers.web_routes import router as web_router
|
|
import uvicorn
|
|
from core.config_loader import config
|
|
|
|
app = FastAPI()
|
|
|
|
# Router einbinden
|
|
app.include_router(web_router)
|
|
|
|
if __name__ == "__main__":
|
|
uvicorn.run(app, host=config['server']['host'], port=config['server']['port'])
|