Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gableroux/serverless-slack-dad-jokes

👴 serverless app that will post to slack with jokes from wesbos/dad-jokes ✌️
https://github.com/gableroux/serverless-slack-dad-jokes

aws-lambda jokes lambda serverless serverless-framework slack

Last synced: 18 days ago
JSON representation

👴 serverless app that will post to slack with jokes from wesbos/dad-jokes ✌️

Awesome Lists containing this project

README

        

# serverless-slack-dad-jokes

serverless app that will post to slack with jokes from [wesbos/dad-jokes](https://github.com/wesbos/dad-jokes/) :v:

## Requirements

* Node and npm
* An aws account
* A slack channel

## Getting started

1. Install serverless
2. Configure your aws account with serverless
3. Deploy
4. Get yourself a webhook url [from here](https://my.slack.com/services/new/incoming-webhook/)
5. Set the webhook url in lambda's `SLACK_WEBHOOK_URL` env var
6. Invoke the function

```bash
npm i -g serverless
sls deploy
sls invoke -f main --log
```