@ -8,6 +8,10 @@ def welcome():
# return a json
return jsonify({'status': 'api working'})
@app.route('/hello')
def hello():
return 'Hello, World'
if __name__ == '__main__':
#define the localhost ip and the port that is going to be used
# in some future article, we are going to use an env variable instead a hardcoded port