Page MenuHomeDevCentral

D986.diff
No OneTemporary

D986.diff

diff --git a/app.py b/app.py
new file mode 100644
--- /dev/null
+++ b/app.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python3
+
+###
+# Notifications center
+# Delivery API
+###
+
+from flask import Flask
+
+
+app = Flask(__name__)
+endpoint = "/delivery"
+
+
+@app.route(endpoint + "/status")
+def status():
+ '''Determine if the application returns a 200 on GET request.'''
+ return "ALIVE"
+
+
+if __name__ == "__main__":
+ app.run(host="0.0.0.0")
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,7 @@
+click==6.7
+Flask==0.12.2
+itsdangerous==0.24
+Jinja2==2.9.6
+MarkupSafe==1.0
+sqlite3==0.0.0
+Werkzeug==0.12.2

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 12:48 (20 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250701
Default Alt Text
D986.diff (689 B)

Event Timeline