This commit is contained in:
2026-07-06 10:18:48 +02:00
commit d0e2da0cfe
10 changed files with 92 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
from fastapi import FastAPI
from app.api.v1.routes import bootstrap
app = FastAPI(
title="PRIVIX API",
version="0.1.0",
description="Local PRIVIX control API",
)
app.include_router(
bootstrap.router,
prefix="/api/v1/bootstrap",
tags=["bootstrap"],
)
@app.get("/")
def root():
return {
"name": "PRIVIX API",
"status": "running",
"api": "/api/v1",
"docs": "/docs",
}