forum-app/backend/main.py
agatha 676ececfad Version 3.0 (#4)
Release version 3.0

Reviewed-on: #4
Co-authored-by: agatha <agatha@juggalol.com>
Co-committed-by: agatha <agatha@juggalol.com>
2024-04-06 20:19:45 +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)