Files
KCGL/inventory-backend/app/api/v1/__init__.py

10 lines
311 B
Python

from flask import Blueprint
from .inbound import inbound_bp
from .bom import bom_bp
from .user import user_bp
v1_bp = Blueprint('v1', __name__)
v1_bp.register_blueprint(inbound_bp, url_prefix='/inbound')
v1_bp.register_blueprint(bom_bp, url_prefix='/bom')
v1_bp.register_blueprint(user_bp, url_prefix='/user')