I’m a Django guy, well, at least a bit. More python than Django, as some people say. But recently I started to play with Flask, quite simple and very appropriate for building small reliable api’s.
Several tutorials online can be found, the one I really like is this , Miguel Grinberg is quite didatict and explains the practical part very well.
from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!"
I did an small example with Flask and Google API connection and it’s on my git.
1. For releasing the API not in localhost, please change the last line:
app.run(debug) --> app.run(host='0.0.0.0')
2. Use POSTMAN to do the tests and export the tests as collections
3. You can use a AWS or Google Cloud/Azure for the tests. Google is pretty nice actually, AWS too.
4. Be patience cause it might happen a little delay on the deployment in the instances.