npm install
mv .env-example .env
- edit
.env
file - start local mongodb with
mongod
npm run watch
- Create a new Slack app: https://api.slack.com/apps
- Configure the app with the following features:
- Incoming Webhooks
- Interactive Components
- Slash commands
Use ngrok to test the slack integration locally via tunnel to localhost, e.g.:
ngrok http 4000
. Just fill in the app configuration with the generated URL.
Deploy the app on Heroku with the given Procfile.