.
This commit is contained in:
0
testnew/python/gemini/app/__init__.py
Normal file
0
testnew/python/gemini/app/__init__.py
Normal file
14
testnew/python/gemini/app/main.py
Normal file
14
testnew/python/gemini/app/main.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from flask import Flask, jsonify
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
return jsonify({"message": "Hello World"})
|
||||
|
||||
@app.route('/health')
|
||||
def health():
|
||||
return jsonify({"status": "UP"})
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host='0.0.0.0', port=16000)
|
||||
0
testnew/python/gemini/app/models.py
Normal file
0
testnew/python/gemini/app/models.py
Normal file
0
testnew/python/gemini/app/routes.py
Normal file
0
testnew/python/gemini/app/routes.py
Normal file
0
testnew/python/gemini/app/services.py
Normal file
0
testnew/python/gemini/app/services.py
Normal file
Reference in New Issue
Block a user