from flask import Flask def create_app(): app = Flask(__name__) # Configuration app.config['SECRET_KEY'] = 'your-dev-key' # Register core routes from .routes import main_bp app.register_blueprint(main_bp) # 🔥 Register the Discovery Fabric API from .discovery_fabric import fabric_bp app.register_blueprint(fabric_bp) return app