Translation_app_ / scripts /check_status.bat
Athena1621's picture
feat: Implement Multi-Lingual Product Catalog Translator frontend with Streamlit
67f25fb
@echo off
echo ========================================
echo Deployment Status Check
echo ========================================
echo.
echo πŸ” Checking service status...
echo.
echo [Backend API - Port 8001]
curl -s http://localhost:8001/ >nul 2>nul
if %errorlevel% equ 0 (
echo βœ… Backend API is responding
) else (
echo ❌ Backend API is not responding
)
echo.
echo [Frontend UI - Port 8501]
curl -s http://localhost:8501/_stcore/health >nul 2>nul
if %errorlevel% equ 0 (
echo βœ… Frontend UI is responding
) else (
echo ❌ Frontend UI is not responding
)
echo.
echo [API Documentation]
curl -s http://localhost:8001/docs >nul 2>nul
if %errorlevel% equ 0 (
echo βœ… API documentation is available
) else (
echo ❌ API documentation is not available
)
echo.
echo [Supported Languages Check]
curl -s http://localhost:8001/supported-languages >nul 2>nul
if %errorlevel% equ 0 (
echo βœ… Translation service is loaded
) else (
echo ❌ Translation service is not ready
)
echo.
echo πŸ“Š Quick Access Links:
echo πŸ”— Frontend: http://localhost:8501
echo πŸ”— Backend: http://localhost:8001
echo πŸ”— API Docs: http://localhost:8001/docs
echo.
pause