import os
import logging
from whitenoise import WhiteNoise
from flask import Flask, render_template, redirect

app = Flask(__name__)
app.wsgi_app = WhiteNoise(app.wsgi_app, root="static/")

# Configurations
app.config.update(
    SECRET_KEY=os.environ["SECRET_KEY"],
    SQLALCHEMY_DATABASE_URL=os.environ["DATABASE_URL"],
)

@app.route('/')
def index():
    return render_template("index.html")

# Hacky, need to find who's making this wrong request.
@app.route('/resources/templates/common.html')
def record():
    return redirect("/static/resources/templates/common.html")
@@ -102,16 +102,88 @@
 redirect
+%0Afrom flask_sqlalchemy import SQLAlchemy%0Afrom flask_bcrypt import Bcrypt
 %0A%0Aapp = 
@@ -358,17 +358,17 @@
 ABASE_UR
-L
+I
 =os.envi
@@ -391,16 +391,59 @@
 L%22%5D,%0A)%0A%0A
+db = SQLAlchemy(app)%0Abcrypt = Bcrypt(app)%0A%0A
 @app.rou

Configure bcrypt and sqlalchemy