# encoding: utf-8
"""
Example RESTful API Server.
"""
from flask import Flask


def create_app(**kwargs):
    """
    Entry point to the Flask RESTful Server application.
    """

    # Initialize the Flas-App
    app: Flask = Flask(__name__, **kwargs)

    # Load the config file
    app.config.from_object('config.DevelopmentConfig')

    # Initialize the API extensions
    from . import extensions
    extensions.init_app(app)

    # Initialize the actual API routes
    from . import modules
    modules.init_app(app)

    return app

# encoding: utf-8
"""
Example RESTful API Server.
"""
from flask import Flask


def create_app(**kwargs):
    """
    Entry point to the Flask RESTful Server application.
    """

    # Initialize the Flas-App
    app: Flask = Flask(__name__, **kwargs)

    # Load the config file
    app.config.from_object('config.DevelopmentConfig')

    # Initialize the API extensions
    from . import extensions
    extensions.init_app(app)

    # Initialize the actual API routes
    from . import modules
    modules.init_app(app)

    return app

# encoding: utf-8 Example RESTful API Server. Entry point to the Flask RESTful Server application. # Initialize the Flas-App # Load the config file # Initialize the API extensions # Initialize the actual API routes