This commit undertakes a major architectural refactoring to improve project organization, scalability, and maintainability
11 lines
No EOL
248 B
Python
11 lines
No EOL
248 B
Python
from flask import Flask
|
|
from config import Config
|
|
|
|
def create_app(config_class=Config):
|
|
app = Flask(__name__)
|
|
app.config.from_object(config_class)
|
|
|
|
from interbend.routes import main_bp
|
|
app.register_blueprint(main_bp)
|
|
|
|
return app |