meerkat

module
v0.0.0-...-5ff6d09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2019 License: Apache-2.0

README

Meerkat

License

Usecases

Usage flow

Interaction flow with Slack

Feature

Slack commands

Use AppMentionEvent

  • @meerkat createQuestionnaire
  • @meerkat editQuestionnaire {questionnaireID}
  • @meerkat createAnswerer
  • @meerkat addAnswerer

Usage

Lambda with API Gateway
  1. create slack apps https://api.slack.com/apps?new_app=1
    • allow scope ( chat:write:bot, bot )
  2. initialize conf yaml
  3. deploy by ./deploytool/lambda/deploy.go
    • make deploy
  4. setup API Gateway
  5. config slack apps
    • Interactive Component
      • Interactivity
      • Message Menus
    • Event Subscriptions
      • Subscribe to Bot Events app_mention
    • Bot Users
  6. create DynamoDB Tables
  7. setup NotificationService execution with ./adapter/cmd/ask_all_if_needed

Directories

Path Synopsis
adapter
mock_application
Package mock_application is a generated GoMock package.
Package mock_application is a generated GoMock package.
deploytool
mock_domain
Package mock_domain is a generated GoMock package.
Package mock_domain is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL