import os
from flask import Flask
from . import db
from . import auth
from . import books


def create_app():
    app = Flask(__name__)
    app.secret_key = 'super secret key'

    @app.route('/hello')
    def hello():
        return 'Hello, World!'
    db.init_app(app)
    app.register_blueprint(auth.bp)
    app.register_blueprint(books.bp)
    app.add_url_rule('/', endpoint='index')
    return app

0f5cd02457c3e3df10937c06f9f00d3f65bc30c4
<mask token>

<mask token>


def create_app():
    app = Flask(__name__)
    app.secret_key = 'super secret key'

    @app.route('/hello')
    def hello():
        return 'Hello, World!'
    db.init_app(app)
    app.register_blueprint(auth.bp)
    app.register_blueprint(books.bp)
    app.add_url_rule('/', endpoint='index')
    return app

import os
from flask import Flask
from . import db
from . import auth
from . import books


def create_app():
    app = Flask(__name__)
    app.secret_key = 'super secret key'

    @app.route('/hello')
    def hello():
        return 'Hello, World!'
    db.init_app(app)
    app.register_blueprint(auth.bp)
    app.register_blueprint(books.bp)
    app.add_url_rule('/', endpoint='index')
    return app
