"""Application entry point.

Creates the Flask application via the factory and exposes it as ``app`` for the
development server and the Flask CLI (``flask run``, ``flask db ...``).
"""

import os

from app import create_app

app = create_app(os.environ.get("FLASK_CONFIG", "development"))


if __name__ == "__main__":
    app.run()
