Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 ✌️
- Host: GitHub
- URL: https://github.com/gableroux/serverless-slack-dad-jokes
- Owner: GabLeRoux
- Created: 2019-01-16T03:27:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:46:21.000Z (about 2 years ago)
- Last Synced: 2024-11-02T15:36:12.843Z (2 months ago)
- Topics: aws-lambda, jokes, lambda, serverless, serverless-framework, slack
- Language: Python
- Homepage: https://serverless.com
- Size: 43 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: ReadMe.md
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
```