Skip to content

Sample webhook listener using NodeJS and ExpressJS

License

Notifications You must be signed in to change notification settings

ngrok/ngrok-webhook-nodejs-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published