Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3766681
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
734 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/app.py b/app.py
new file mode 100644
index 0000000..78e9eac
--- /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
index 0000000..fd092f9
--- /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
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Nov 24, 19:35 (2 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258777
Default Alt Text
(734 B)
Attached To
Mode
rND Delivery API for Notifications center
Attached
Detach File
Event Timeline
Log In to Comment