Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/api/api_router.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from fastapi import APIRouter

api_router = APIRouter()

# api_router.include_router(connect_driver.router, prefix="/connections", tags=["Driver"])
3 changes: 2 additions & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@

from app.api import health # 헬스 체크
from app.core.port import get_available_port # 동적 포트 할당
from app.api.api_router import api_router

app = FastAPI()

# 헬스 체크 라우터
app.include_router(health.router)

app.include_router(api_router, prefix="/api")

@app.get("/")
async def read_root():
Expand Down