<filename>app/__init__.py
from flask import Flask
#from flask_heroku import Heroku
from flask_sqlalchemy import SQLAlchemy
from flask_login import LoginManager
from flask_cors import CORS, cross_origin
import os
app = Flask(__name__)
app.config.from_object(os.environ['APP_SETTINGS'])

app.config['PROPAGATE_EXCEPTIONS'] = True
#heroku = Heroku(app)
CORS(app)
login_manager = LoginManager()
login_manager.init_app(app)
login_manager.login_view = 'login'
db = SQLAlchemy(app)

from app import views

