10 lines
213 B
Python
10 lines
213 B
Python
from fastapi import FastAPI
|
|
from app.auth import router as auth_router
|
|
from app.models import Base
|
|
from app.db import engine
|
|
|
|
Base.metadata.create_all(bind=engine)
|
|
|
|
app = FastAPI()
|
|
|
|
app.include_router(auth_router) |