GithubHelp home page GithubHelp logo

clydedz / netlify-functions-slack-javascript Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 28 KB

Netlify Functions x Slack Bolt JS. Template repository to run a Slack app using Bolt JS framework on a Netlify Function. Fork this repository, follow the steps below and get your Slack app running within minutes.

License: MIT License

JavaScript 100.00%
slack slack-bot slackbot slack-app javascript netlify netlify-functions template bolt bolt-js

netlify-functions-slack-javascript's Introduction

Netlify Functions x Slack Bolt JS

Template repository to run a Slack app using Bolt JS framework on a Netlify Function. Fork this repository, follow the steps below and get your Slack app running within minutes.

Getting started

  1. Install all node dependencies using npm install.
  2. Install the Netlify Dev CLI tool using npm install netlify-cli -g.
  3. Create an .env file and paste the following contents, replacing the secret and bot token with your values from Slack.
SLACK_SIGNING_SECRET="PASTE CONTENTS HERE"
SLACK_BOT_TOKEN="PASTE CONTENTS HERE"
  1. Link Netlify site wit this code folder by running the command npm run link.
  2. Build the project using npm run build. This will also run the unit tests.
  3. Finally, execute the command npm run go to start a local instance of the Netlify Function.

What is the expected output?

Assuming you've got your Slack app covered, when you a post a message in the channel, the app should send a message in the same channel with a "Hello, world" message.


Follow Clyde D'Souza on Twitter and Medium

netlify-functions-slack-javascript's People

Contributors

clydedz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

olivier5741

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.