Skip to content

Instantly share code, notes, and snippets.

@biancarosa
Created July 15, 2019 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biancarosa/c368367d78308e43ce7a1a49c3d1a5c8 to your computer and use it in GitHub Desktop.
Save biancarosa/c368367d78308e43ce7a1a49c3d1a5c8 to your computer and use it in GitHub Desktop.
simple flask app
"""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