- backend/: Spring Boot 3.2 + Java 17, Google OAuth + JWT 인증 - AuthController/Service/Filter: id_token 검증 + gcsc.co.kr 도메인 제한 - JPA Entity: users, login_history - 수집기 placeholder: GDELT, Google News, CENTCOM, Aircraft - ArticleClassifier: 프론트엔드 분류 정규식 이식 - 프로파일: local / prod (PostgreSQL 211.208.115.83:5432/kcgdb) - database/: 초기 스키마 (events, news, osint, users, login_history) - prediction/: FastAPI placeholder (향후 해양 분석) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 lines
162 B
Python
9 lines
162 B
Python
from fastapi import FastAPI
|
|
|
|
app = FastAPI(title="KCG Prediction Service", version="0.1.0")
|
|
|
|
|
|
@app.get("/health")
|
|
def health_check():
|
|
return {"status": "ok"}
|