Created
July 15, 2019 00:28
-
-
Save biancarosa/c368367d78308e43ce7a1a49c3d1a5c8 to your computer and use it in GitHub Desktop.
simple flask app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""app.main | |
Module that starts the Flask application | |
""" | |
from flask import Flask, jsonify | |
app = Flask(__name__) | |
@app.route('/') | |
def healthcheck(): | |
"""Returns health information""" | |
return jsonify({ | |
"message": "I feel good." | |
}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment