from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager
from flask_migrate import Migrate
from config import Config
from flask_marshmallow import Marshmallow

app = Flask(__name__)
app.env = 'production'
app.config.from_object(Config)
login = LoginManager(app)
login.login_view = 'login'
db = SQLAlchemy(app)
migrate = Migrate(app, db)
ma = Marshmallow(app)


from app import routing, models
from app.util import filters
