forum-app/backend/main.py
2024-04-06 14:50:59 -04: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)