Similar to #299, I want to incorporate the Flask example, since this repository is better maintained and more canonical.