Simplified flask example