restapi 버튼 동작

This commit is contained in:
kjs
2025-09-29 12:17:10 +09:00
parent cedb5e3ec3
commit c9afdec09f
19 changed files with 1910 additions and 81 deletions

View File

@@ -0,0 +1,19 @@
/**
* 🔥 데이터플로우 실행 라우트
*
* 버튼 제어에서 관계 실행 시 사용되는 API 엔드포인트
*/
import express from "express";
import { authenticateToken } from "../middleware/authMiddleware";
import { executeDataAction } from "../controllers/dataflowExecutionController";
const router = express.Router();
// 🔥 모든 라우트에 인증 미들웨어 적용
router.use(authenticateToken);
// 데이터 액션 실행
router.post("/execute-data-action", executeDataAction);
export default router;