15 lines
348 B
Python
15 lines
348 B
Python
from fastapi import FastAPI
|
|
|
|
from app.routes.documents import router as documents_router
|
|
from app.routes.health import router as health_router
|
|
|
|
app = FastAPI(title="document-processor")
|
|
|
|
app.include_router(health_router)
|
|
app.include_router(documents_router)
|
|
|
|
|
|
@app.get("/")
|
|
def root():
|
|
return {"app": "document-processor", "status": "running"}
|