from flask import Flask
from flask_sqlalchemy import SQLAlchemy 
from datetime import datetime
from hashutils import make_pw_hash, check_pw_hash, make_salt


app = Flask(__name__)
app.config['DEBUG'] = True
app.secret_key = 'random string'
app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://blogz:blogz@localhost:8889/blogz'
app.config['SQLALCHEMY_ECHO'] = True
db = SQLAlchemy(app)
