Application Factory (Flask)

An application factory is a function (commonly named create_app) that builds and returns a configured Flask app.