swag-shop/app/api/__init__.py

9 lines
307 B
Python
Raw Normal View History

2024-03-05 16:01:26 +01:00
from flask import Blueprint
bp_errors = Blueprint('errors', __name__)
bp = Blueprint('api', __name__)
bp_product = Blueprint('product', __name__, url_prefix="/product")
bp_user = Blueprint('user', __name__, url_prefix="/user")
2024-03-08 14:04:40 +01:00
bp_cart = Blueprint('cart', __name__, url_prefix="/cart")
2024-03-05 16:01:26 +01:00
from . import routes