Files
nageshwaran_manikumar 36cec81744
startup-product-gitea-ci/pipeline/pr-main There was a failure building this commit
startup-product-gitea-ci/pipeline/head There was a failure building this commit
feat: complete secure pricing delivery and rollback documentation
2026-11-13 21:07:53 -05:00

26 lines
512 B
Python

from flask import Flask, jsonify
app = Flask(__name__)
@app.get("/health")
def health():
return jsonify({"status": "healthy"}), 200
@app.get("/pricing")
def pricing():
return jsonify({
"service": "Startup Pricing Service",
"version": "v1",
"plans": [
{"name": "Basic", "price": 10},
{"name": "Pro", "price": 25},
{"name": "Enterprise", "price": 50}
]
}), 200
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5000)