@@ -1,3 +0,0 @@
-from flask import Flask
-app = Flask(__name__)
-from app import views
@@ -1,2 +1,6 @@
-from app import app
+from flask import Flask
+from app import views, api
+app = Flask(__name__, template_folder='app/templates')
+app.register_blueprint(views.bp)
+app.register_blueprint(api.bp, url_prefix='/api')