Skip to content

Instantly share code, notes, and snippets.

@RafaelBroseghini
Created August 8, 2018 21:14
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 RafaelBroseghini/dba214467671e2f412cd7f60b8397f56 to your computer and use it in GitHub Desktop.
Save RafaelBroseghini/dba214467671e2f412cd7f60b8397f56 to your computer and use it in GitHub Desktop.
Simple Flask App setup
from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
return "You have reached the index route!"
if __name__ == "__main__":
app.run(debug=True)
# Navigate to localhost:5000 on your browser....Surprise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment