Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielac07 committed Dec 11, 2024
2 parents 92a838a + 658dd7b commit 38b5585
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,27 @@ def get_maryam():
"DOB": "November 23",
"Residence": "The Bermuda Triangle",
"Email": "[email protected]",
"Favorite_Books": ["The Outsiders", "Tex", "The Catcher in the Rye", "The Hunger Games", "Renegades"]
"Favorite Books": ["The Outsiders", "Tex", "The Catcher in the Rye", "The Hunger Games", "Renegades"]
}]

return jsonify(InfoDb)


@app.route('/')
def say_hello():
html_content = """
<html>
<head>
<title>Bookworms</title>
</head>
<body>
<h2>Hello, meet the team of the Bookworms!</h2>
</body>
</html>
"""
return html_content


if __name__ == '__main__':
app.run(debug=True)
# starts flask server on default port, http://127.0.0.1:5001
app.run(port=5001)

0 comments on commit 38b5585

Please sign in to comment.