Coder Social home page Coder Social logo

wander2001 / slack-poll-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibm/slack-poll-app

0.0 2.0 0.0 55 KB

A self-hosted slack polling app using Cloudant as storage, with support for deploying to IBM Cloud.

License: Apache License 2.0

JavaScript 100.00%

slack-poll-app's Introduction

slack-poll-app

A simple slack polling app which can be deployed in your own environment.

screenshot

Current Features

  • Multiple active poll per channel
  • Polls stored in-memory or cloudant
  • Anonymous votes only

How to use

  1. Click to deploy to IBM Cloud: Deploy to IBM Cloud

  2. Create a slack app

  3. In the slack app, create a slash command:

    • Command: /poll or another command
    • Request URL: https://your-slack-app-route/slack/command, where route is obtained from Step 1.
    • Short Description: Simple polling app hosted on IBM Cloud.
    • Usage Hint: "Would you like to play a game?" "Chess" "Falken's Maze" "Thermonuclear War"
  4. Go to Interactive Components, and set Request URL to https://your-slack-app-route/slack/action

  5. Go to Basic Information, write down Client ID, Client Secret and Verification Token

  6. In deployed IBM Cloud app, set env var CLIENT_ID, CLIENT_SECRET and VERIFY_TOKEN

Install app to your slack workspace

  1. Visit https://your-ibm-cloud-app-route with browser

  2. Click Add to Slack button

  3. Confirm the authorization

  4. After slack redirects back, if you see a message "Success!", you have installed the app to your slack workspace.

  5. Check whether poll command shows up in your slack workspace.

slack-poll-app's People

Contributors

tsaiyl avatar wander2001 avatar stevemart avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.