A follow along workshop to build a sample serverless application
from flask import Flask, jsonify
import os

app = Flask(__name__)


@app.route('/', methods=['GET'])
def root():
    return jsonify({"hello": "world"})


if __name__ == '__main__':
    app.run(debug=True, host="0.0.0.0", port=int(os.environ.get("PORT", 8080)))
main.py
xprilion/build-serverless-ship-faster