Are there any examples of how to use com.slack.api...
# http4k
o
Are there any examples of how to use com.slack.api.bolt.http4k? Does that SlackAppServer allow to test against Slack in memory? Want to build a slack application for the local maker space, but don't know how to get started with this...
d
Not much TBH - there's only what is in the slack bolt repo afaik: https://github.com/slackapi/java-slack-sdk/blob/main/bolt-http4k/src/test/java/example/app/ExampleHttp4kBoltServer.java But it's not too difficult - it's basically the slack SDK inside of an http4k shell IIRC. So you construct the slack app manually using their SDK API and inject it into the adapter which produces an HttpHandler that you can invoke as normal or launch on a port/put into a lambda etc.
👍 1
o
Thank you. I'll see what I can do and ask when I get stuck. 👋🏻