A completed flask tutorial