add initial application code alongside it's dependencies

This commit is contained in:
dymik739 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"
}

7
requirements.txt Normal file
View File

@ -0,0 +1,7 @@
blinker==1.8.2
click==8.1.7
Flask==3.0.3
itsdangerous==2.2.0
Jinja2==3.1.4
MarkupSafe==2.1.5
Werkzeug==3.0.4