feat: routes

This commit is contained in:
2026-06-06 13:00:01 +03:00
parent 83abcd02dd
commit 87b48e941e
22 changed files with 525 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
"""Like endpoints. Likes are an append-only event-log — never updated in place."""
from typing import Any
from fastapi import APIRouter
router = APIRouter(prefix="/likes", tags=["likes"])
@router.get("")
async def get_likes() -> Any: ...
@router.post("")
async def add_like() -> Any: ...
@router.get("/state")
async def get_likes_state() -> Any: ...