def create_app():
    app = Flask(__name__)
    app.config.from_object(configs.Config)
    CORS(app, resources={'/api/*': {'origins': '*'}})
    from .controllers import api_blueprint
    app.register_blueprint(api_blueprint)
    return app
def create_app():
    app = Flask(__name__)
    app.config.from_object(configs.Config)
    CORS(app, resources={'/api/*': {'origins': '*'}})
    from .controllers import api_blueprint
    app.register_blueprint(api_blueprint)
    return app