swag-shop/app/api/__init__.py

9 lines
309 B
Python
Raw Permalink Normal View History

2024-03-05 16:01:26 +01:00
from flask import Blueprint
bp_errors = Blueprint('errors', __name__)
bp = Blueprint('api', __name__)
2024-03-10 17:11:14 +01:00
bp_product = Blueprint('products', __name__, url_prefix="/products")
2024-03-05 16:01:26 +01:00
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