from flask import Flask
from database import  setup
from resources.tasks import tasks_bp

app = Flask(__name__)
setup.create_table()

app.register_blueprint(tasks_bp)


if __name__ == '__main__':
    app.run(debug=True)  # debug solo para entorno de desarrollo
