TT-004: complete modular frontend integration
This commit is contained in:
@@ -34,3 +34,17 @@ async def health_check_db(db: Session = Depends(get_db)):
|
||||
"database": "PostgreSQL",
|
||||
"error": str(e)
|
||||
}
|
||||
|
||||
|
||||
@router.get("/module/info")
|
||||
async def module_info():
|
||||
"""Return module metadata for platform registration."""
|
||||
return {
|
||||
"id": "request",
|
||||
"name": "Request Management",
|
||||
"version": "1.0.0",
|
||||
"frontend": {
|
||||
"dev_url": "http://localhost:5174",
|
||||
"prod_path": "/modules/request",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -274,6 +274,6 @@ if __name__ == "__main__":
|
||||
uvicorn.run(
|
||||
"app.main:app",
|
||||
host="0.0.0.0",
|
||||
port=8000,
|
||||
port=8001,
|
||||
reload=get_settings().APP_DEBUG
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user