the demo recommended by flask to learn it