a boilerplate for http handler with express