ADD Basic routes and database models

This commit is contained in:
Esa Kataja
2024-11-09 12:27:37 +02:00
parent a35ade3d8b
commit 093299907c
13 changed files with 185 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
from fastapi import APIRouter
router = APIRouter(
prefix="/movie",
tags=["movie"],
responses={404: {"description": "Not found"}},
)
@router.get("/")
async def get_movies():
return {"movies": ["movie1", "movie2", "movie3"]}