Files
secure-online-shop/app/api/router.py
T

10 lines
419 B
Python

from fastapi import APIRouter
from app.api import auth, orders, payments, products
api_router = APIRouter()
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])
api_router.include_router(products.router, prefix="/products", tags=["catalog"])
api_router.include_router(orders.router, prefix="/orders", tags=["orders"])
api_router.include_router(payments.router, prefix="/payments", tags=["payments"])