base logic

This commit is contained in:
IluaAir
2025-07-06 11:58:45 +03:00
parent 817a799ef5
commit 4de11f4149
23 changed files with 149 additions and 17 deletions

27
src/api/v1/tasks.py Normal file
View File

@@ -0,0 +1,27 @@
from fastapi import APIRouter
router = APIRouter(prefix="/tasks", tags=["Tasks"])
@router.get("/")
async def get_tasks(): ...
@router.get("/{task_id}")
async def get_task_id(task_id: int): ...
@router.post("/")
async def post_task(): ...
@router.put("/{task_id}")
async def put_task(task_id: int): ...
@router.patch("/{task_id}")
async def patch_task(task_id: int): ...
@router.delete("/{task_id}")
async def delete_task(task_id: int): ...