bsition/api/api.py

10 lines
262 B
Python

from fastapi import FastAPI
from dotenv import load_dotenv
from api.routes.auth import auth_routes
from api.test.test import test_routes
app = FastAPI()
app.include_router(auth_routes, prefix="/api")
app.include_router(test_routes, prefix="/api")
load_dotenv()