diff --git a/api/Procfile b/api/Procfile
new file mode 100644
index 0000000..1945201
--- /dev/null
+++ b/api/Procfile
@@ -0,0 +1 @@
+web: gunicorn main:app
diff --git a/api/main.py b/api/main.py
new file mode 100644
index 0000000..8640559
--- /dev/null
+++ b/api/main.py
@@ -0,0 +1,13 @@
+from flask import Flask, jsonify
+import os
+
+app = Flask(__name__)
+
+
+@app.route('/')
+def index():
+ return jsonify({"general kenobi": "hello there"})
+
+
+if __name__ == '__main__':
+ app.run(debug=True, port=5000)
diff --git a/api/requirements.txt b/api/requirements.txt
new file mode 100644
index 0000000..c14420e
--- /dev/null
+++ b/api/requirements.txt
@@ -0,0 +1,12 @@
+# ---- ----
+
+Flask==1.1.2
+click==7.1.2
+gunicorn==20.0.4
+itsdangerous==1.1.0
+Jinja2==2.11.3
+MarkupSafe==1.1.1
+Werkzeug==1.0.1
+
+# ---- ----
+
diff --git a/web/src/pages/index.tsx b/web/src/pages/index.tsx
index 2135a1c..5eaac96 100644
--- a/web/src/pages/index.tsx
+++ b/web/src/pages/index.tsx
@@ -25,8 +25,7 @@ const ShowEntry: React.FC<{entry: Entry}> = ({entry}) => {
);
};
-const API_URL = process.env.NEXT_PUBLIC_API_URL;
-const API_URL_2 = process.env.NEXT_PUBLIC_API_URL_2;
+const API_URL = process.env.NEXT_PUBLIC_API_URL || "http://127.0.0.1:5000/";
const Home: NextPage = () => {
@@ -76,7 +75,6 @@ const Home: NextPage = () => {
1: {API_URL}
- 2: {API_URL_2}
{entries.map((entry, i) => (