add initial application code alongside it's dependencies

This commit is contained in:
2024-09-24 20:20:17 +03:00
commit 5f172b7757
2 changed files with 18 additions and 0 deletions

11
app/__init__.py Normal file
View File

@@ -0,0 +1,11 @@
from flask import Flask
import time
app = Flask(__name__)
@app.route("/healthcheck")
def ep_healthcheck():
return {
"date": time.strftime('%Y.%m.%d %H:%M:%S'),
"status": "OK"
}