https://github.com/armiiller/up-slack-bot-ping
https://github.com/armiiller/up-slack-bot-ping
apigateway lambda serverless slack up
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/armiiller/up-slack-bot-ping
- Owner: armiiller
- License: mit
- Created: 2018-03-16T17:22:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-23T15:50:46.000Z (over 7 years ago)
- Last Synced: 2025-04-08T14:50:56.574Z (6 months ago)
- Topics: apigateway, lambda, serverless, slack, up
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ping Slack Bot
This is an ultra simple slack bot that checks how long it takes a website to respond.
It is meant to run serverless using AWS [API Gateway](https://aws.amazon.com/api-gateway/) and [Lambda](https://aws.amazon.com/lambda/). I use [Up](https://github.com/apex/up) to make my life easier.
## Tutorial
You can find an actual walk through of the tutorial and a coupon for Up (50% off forever) here: [https://pagertree.com/2018/03/21/serverless-part-4-serverless-tools-and-best-practices/](https://pagertree.com/2018/03/21/serverless-part-4-serverless-tools-and-best-practices/)## Building & Deployment
`npm install`
`up deploy production`
## Security
To add security to your bot make sure to add the `TOKEN` environment variable in the `up.json` file. This will perform the Slack request authentication.