Neu
This commit is contained in:
14
backend/app.py
Normal file
14
backend/app.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.get("/health")
|
||||
def health():
|
||||
return {"status": "ok"}
|
||||
|
||||
@app.get("/")
|
||||
def index():
|
||||
return "Wedding backend is running."
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=5000)
|
||||
Reference in New Issue
Block a user