serverless app that will post to slack with jokes from wesbos/dad-jokes โ๏ธ
- Node and npm
- An aws account
- A slack channel
- Install serverless
- Configure your aws account with serverless
- Deploy
- Get yourself a webhook url from here
- Set the webhook url in lambda's
SLACK_WEBHOOK_URL
env var - Invoke the function
npm i -g serverless
sls deploy
sls invoke -f main --log