File size: 376 Bytes
d21c4c8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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