Giter VIP home page Giter VIP logo

de-taco's Introduction

Getting Started ⚡️ Bolt for JavaScript

Slack app example from 📚 Getting started with Bolt for JavaScript tutorial

Overview

This is a Slack app built with the Bolt for JavaScript framework that showcases responding to events and interactive buttons.

Running locally

0. Create a new Slack App

  • Go to https://api.slack.com/apps
  • Click Create App
  • Choose a workspace
  • Enter App Manifest using contents of manifest.yaml
  • Click Create

Once the app is created click Install to Workspace Then scroll down in Basic Info and click Generate Token and Scopes with both scopes

1. Setup environment variables

# Replace with your bot and app token
export SLACK_BOT_TOKEN=<your-bot-token> # from the OAuth section
export SLACK_APP_TOKEN=<your-app-level-token> # from the Basic Info App Token Section

2. Setup your local project

# Clone this project onto your machine
git clone https://github.com/slackapi/bolt-js-getting-started-app.git

# Change into the project
cd bolt-js-getting-started-app/

# Install the dependencies
npm install

3. Start servers

npm run start

4. Test

Go to the installed workspace and type Hello in a DM to your new bot. You can also type Hello in a channel where the bot is present

Contributing

Issues and questions

Found a bug or have a question about this project? We'd love to hear from you!

  1. Browse to slackapi/bolt-js/issues
  2. Create a new issue
  3. Select the [x] examples category

See you there and thanks for helping to improve Bolt for everyone!

de-taco's People

Contributors

prikeshsavla avatar

Watchers

 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.