#!/usr/bin/env python3 """ Simple FastAPI service for AITBC Web UI (Port 8016) """ import sys import os sys.path.insert(0, '/opt/aitbc/apps/coordinator-api/src') import uvicorn from fastapi import FastAPI from fastapi.staticfiles import StaticFiles from fastapi.responses import HTMLResponse app = FastAPI(title='AITBC Web UI Service', version='1.0.0') @app.get('/health') def health(): return { 'status': 'ok', 'service': 'web-ui', 'port': 8016, 'python_version': sys.version.split()[0] } @app.get('/') def root(): return HTMLResponse("""
Port 8016 - Enhanced Services Interface
✅ Web UI: Running on port 8016
✅ Coordinator API: Running on port 8000
✅ Exchange API: Running on port 8001
✅ Blockchain RPC: Running on port 8003
✅ Enhanced Services: Running on ports 8010-8016