A basic template for server apps