Giter Site home page Giter Site logo

seratch / bolt-on-cloud-functions-for-firebase Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 4.0 224 KB

Read this issue first - https://github.com/slackapi/bolt/issues/361

Home Page: https://github.com/slackapi/bolt/issues/361

License: MIT License

JavaScript 100.00%
slack slack-bot slack-api bolt cloud-functions-for-firebase

bolt-on-cloud-functions-for-firebase's Introduction

bolt-on-cloud-functions-for-firebase's People

Contributors

dependabot[bot] avatar seratch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bolt-on-cloud-functions-for-firebase's Issues

Using App export directly without ExpressReceiver

Hi,
I am wondering if you know of a way or workaround to use the default App from @slack/bolt without using the explicit ExpressReceiver as is being done in this example, and still get it to work with cloud functions. I'm asking because I want to take advantage of the built-in auth handling that you can use when just using App (https://slack.dev/bolt-js/concepts#authenticating-oauth) instead of using ExpressReceiver and re-implementing auth using the oAuth library.

Using the processBeforeResponse flag

Hi @seratch, I am building a slack app on cloud functions (for now... cold starts are annoying...) and I think I should be using the processBeforeResponse as outlined in slackapi/bolt-js#444 but having issues figuring out how to use it. Is it as easy as just adding the option to my App constructor? Do I need to move by ack() calls to the end of my handler functions or can I keep them at the beginning?

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.