This commit is contained in:
Logan
2025-07-13 12:56:16 -04:00
commit 80b48c00de
11 changed files with 416 additions and 0 deletions

15
app/main.py Normal file
View File

@@ -0,0 +1,15 @@
from fastapi import FastAPI
from .routers import auth, users, videos
app = FastAPI(title="Video Voting App")
app.include_router(auth.router, prefix="/auth", tags=["Authentication"])
app.include_router(users.router, prefix="/users", tags=["Users"])
app.include_router(videos.router, prefix="/videos", tags=["Videos"])
@app.get("/", tags=["Root"])
async def read_root():
"""
The root endpoint of the Video Voting API.
"""
return {"message": "Welcome to the Video Voting API!"}