forum-app/backend/main.py
agatha 2db6e18d5b feat: add authentication for administration (#2)
Reviewed-on: #2
Co-authored-by: agatha <agatha@juggalol.com>
Co-committed-by: agatha <agatha@juggalol.com>
2024-04-06 19:56:48 +00:00

13 lines
232 B
Python

from fastapi import FastAPI
import models
from database import engine
from routers import auth, forum
app = FastAPI()
models.Base.metadata.create_all(bind=engine)
app.include_router(forum.router)
app.include_router(auth.router)