dtjldamien / ngrok-webhook-nodejs-sample

Sample webhook listener using NodeJS and ExpressJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Sample webhook listener using NodeJS and ExpressJS

License:Apache License 2.0


Languages

Language:JavaScript 100.0%