boilerplate app from realpython