Frederico Hakamine 6d88a91482 Merge pull request #3 from faonbr/main
Updated scripts to work with Slack and Meta apps.
2022-10-27 18:47:46 -05:00
2022-07-29 15:08:41 -05:00
2022-10-27 20:00:43 -03:00
2022-10-26 19:00:26 -03:00
2022-10-20 08:53:16 -03:00
2022-10-20 08:53:16 -03:00
2022-07-29 15:08:41 -05:00
2022-10-23 13:11:38 -03:00
2022-10-26 19:00:26 -03:00
2022-10-26 20:16:36 -03:00

Sample Webhook Listener with Node + Express

This sample app works as a webhook listener using Node and ExpressJS.

Prerequisites: Node.js.

Getting Started

To install this sample, run the following commands:

git clone https://github.com/ngrok/ngrok-webhook-nodejs-sample.git
cd ngrok-webhook-nodejs-sample
npm i

This will get the project installed locally.

Launching the app

Now you can launch the app:

npm start

Alternativelly, you can run one of the following apps: npm run startFB

The app runs by default on port 3000

Making this app public with ngrok

To make your app public using ngrok, enter:

ngrok http 3000

Help

Please raise an issue if you find a problem with this app, or visit our Developer Community.

License

Apache 2.0, see LICENSE.

S
Description
Sample webhook listener using NodeJS and ExpressJS
Readme Apache-2.0 153 KiB
Languages
JavaScript 100%