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",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user