C_App and ython directories

This commit is contained in:
2025-03-12 12:56:41 +01:00
parent 3b748689ba
commit df3452580b
4 changed files with 44 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
from flask import Flask
import os
app = Flask(__name__)
@app.route('/')
def index():
return 'Server Works!\n'
@app.route('/greet')
def say_hello():
return 'Hello from Server'
if __name__ == "__main__":
port = int(os.environ.get('PORT', 5000))
app.run(debug=True, host='0.0.0.0', port=port)
+7
View File
@@ -0,0 +1,7 @@
blinker==1.7.0
click==8.1.7
Flask==3.0.2
itsdangerous==2.1.2
Jinja2==3.1.3
MarkupSafe==2.1.5
Werkzeug==3.0.1