Skip to content

Madvinking/slack-bot-template

Repository files navigation

what a BOT !

work in progress

template for building slack bot using slackApi

  • mysql DB for bot support (add/get/remove) teams, channels and users
  • Dockerfile for dev and prod environments
  • using ES modules compiled to CommonJS using babel
  • using localtunnel for testing bot on local environments
  • vscode configuration for debugging local/container

Installation

fill all fields in the .env file. Install the dependencies and devDependencies and start the server.

$ cd slack-bot-template
$ yarn
$ yarn lt
$ yarn watch

install and deploy in a Docker container.

By default, the Docker will expose port 8080, so change this within the docker-compose if necessary. When ready, simply use the Dockerfile to build the image.

yarn docker

basic architecture diagram:

architecture

Todos

  • DB tables migration and functions
  • auth users and workspace
  • fix docker files
  • localtunnel to restart when crashing

Free Software, Hell Yeah!

About

slack bot template with dockers and es6+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published