My production app looks like this: ``` fun FruitAp...
# http4k
d
My production app looks like this:
Copy code
fun FruitApp(): HttpHandler = ServerFilters.CatchLensFailure.then(
        routes(
                "/health" bind GET to { _: Request -> Response(OK) },
                "/fruits" bind GET to { _: Request ->
                    Response(OK).with(
                            Body.json().toLens() of listOf("lemons" to 42.asJsonValue()).asJsonObject())
                }
        )
)