feat: 초기 프로젝트 설정 및 룰.md 파일 추가

This commit is contained in:
2025-07-28 09:53:31 +09:00
commit 09a4d38512
8165 changed files with 1021855 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
// routes/taskRoutes.js
const express = require('express');
const router = express.Router();
const taskController = require('../controllers/taskController');
// CREATE
router.post('/', taskController.createTask);
// READ ALL
router.get('/', taskController.getAllTasks);
// READ ONE
router.get('/:task_id', taskController.getTaskById);
// UPDATE
router.put('/:task_id', taskController.updateTask);
// DELETE
router.delete('/:task_id', taskController.removeTask);
module.exports = router;