Code refactoring. Add support genres and actors to routes

This commit is contained in:
2024-06-26 23:13:47 +04:00
parent fc3bcc343d
commit b9e22fcc4c
28 changed files with 545 additions and 250 deletions

View File

@@ -13,10 +13,19 @@ app = FastAPI(
"url": "https://github.com/StepanovPlaton"
},
)
app.include_router(startup_router)
app.include_router(games_router)
app.include_router(game_genres_router)
app.include_router(movies_router)
app.include_router(movie_actors_router)
app.include_router(movie_genres_router)
app.include_router(audiobooks_router)
app.include_router(audiobook_genres_router)
app.include_router(files_router)
app.include_router(auth_router)
app.mount("/content", StaticFiles(directory="content"), name="content")