Files
startup-product/pricing-service/versions/v2/app.py
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

27 lines
574 B
Python

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