Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

My playground to poke around Slack API and their Bolt framework.

License

Notifications You must be signed in to change notification settings

dirtyhenry/slack-bot-playground

Repository files navigation

Slack Bot Playground

This is my playground to poke around Slack API and their Bolt framework.

Development Installation

This project requires node, yarn and brew to be installed on your system.

To install dependencies:

make install

Usage

To run the project, some environment variables are required.

To provide them in a local environment, create a .env file from .env.sample:

  • NGROK_AUTH_TOKEN: To test locally, this project uses ngrok, this environment variable stored your ngrok auth token;
  • PORT: The port number you want your app to listen to (we don't use a default fallback port number so we can use the same port on all stacks, ie node and Makefile);
  • SLACK_BOT_TOKEN: Found from a Slack app's Install app page;
  • SLACK_SIGNING_SECRET: Found from a Slack app's Basic Information page;

And then:

make run

Since you need to expose the service via a publicly available URL, run grok via another terminal:

make expose

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Environment variables

About

My playground to poke around Slack API and their Bolt framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published