13 lines
232 B
Python
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)
|