This is a Slack bot that posts updates about World Cup games based on ESPN's hidden API.
You'll need Redis, Node.js, and Yarn.
brew install redis
brew services start redis
brew install nvm
nvm use
brew install yarn
yarn install
Also, put together a .env
file with a SLACK_BOT_TOKEN
, SLACK_SIGNING_SECRET
, and REDIS_URL
.
You get the Slack environment variables by creating a Slack App and giving it the chat:write
and channel:read
permissions.
I've deployed this project to Railway.app with a Node.js application and a Redis application.