system-pri/backend/app/api.py

10 lines
323 B
Python
Raw Normal View History

from flask import Blueprint
from .coordinator.routes import bp as coordinator_bp
2022-06-10 17:53:32 +02:00
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)
2022-06-10 17:53:32 +02:00
api_bp.register_blueprint(project_supervisor_bp)