Skip to content

Commit

Permalink
Adding initial hello world flask file
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaConcon committed Dec 1, 2018
1 parent a18eb6f commit 16237b7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions utscfood-api/api.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from flask import Flask

# flask object
app = Flask(__name__)

@app.route('/')
def hellow_world():
return 'Hello, World!'

if __name__ == "__main__":
# run app if file is run directly
app.run()

0 comments on commit 16237b7

Please sign in to comment.