system-pri/backend/app/api.py
2022-06-10 17:53:32 +02:00

10 lines
323 B
Python

from flask import Blueprint
from .coordinator.routes import bp as coordinator_bp
from .project_supervisor.routes import bp as project_supervisor_bp
api_bp = Blueprint('api', __name__, url_prefix='/api')
# register blueprints here
api_bp.register_blueprint(coordinator_bp)
api_bp.register_blueprint(project_supervisor_bp)