mirror of
https://github.com/ngrok/ngrok-webhook-nodejs-sample.git
synced 2026-05-17 16:50:46 +00:00
main
Updated scripts to work with Slack and Meta apps.
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.
Description
Languages
JavaScript
100%