-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun_server.py
More file actions
22 lines (19 loc) · 972 Bytes
/
run_server.py
File metadata and controls
22 lines (19 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env python3
import os
import sys
from app import app
if __name__ == '__main__':
print("=== KUNI 2thecore Data Analysis Server ===")
print("Starting Flask development server...")
print("Server will be available at: http://localhost:5000")
print("API endpoints:")
print(" GET / - API 정보")
print(" POST /api/data - 데이터 쿼리 실행")
print(" GET /api/health - 헬스 체크")
print(" GET /api/analysis/period - 계절별/월별 선호도 분석")
print(" GET /api/analysis/trend - 연도별 트렌드 분석")
print(" GET /api/forecast/daily - 일별 운행량 예측")
print(" GET /api/clustering/regions - 지역 클러스터링 분석")
print(" GET /apidocs/ - Swagger API 문서")
print("=====================================")
app.run(debug=True, host='0.0.0.0', port=5000)