https://github.com/ngrok/ngrok-webhook-nodejs-sample
Sample webhook listener using NodeJS and ExpressJS
https://github.com/ngrok/ngrok-webhook-nodejs-sample
Last synced: 6 months ago
JSON representation
Sample webhook listener using NodeJS and ExpressJS
- Host: GitHub
- URL: https://github.com/ngrok/ngrok-webhook-nodejs-sample
- Owner: ngrok
- License: apache-2.0
- Created: 2022-07-29T20:08:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-26T13:57:13.000Z (over 2 years ago)
- Last Synced: 2025-07-18T09:58:42.849Z (6 months ago)
- Language: JavaScript
- Size: 108 KB
- Stars: 34
- Watchers: 3
- Forks: 36
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sample Webhook Listener with Node + Express
This sample app works as a webhook listener using Node and ExpressJS.
**Prerequisites**: [Node.js](https://nodejs.org/en/).
## Getting Started
To install this sample, run the following commands:
```bash
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:
```bash
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:
```bash
ngrok http 3000
```
## Help
Please [raise an issue](https://github.com/ngrok/ngrok-webhook-nodejs-sample/issues) if you find a problem with this app, or visit our [Developer Community](https://ngrok.com/slack).
## License
Apache 2.0, see [LICENSE](LICENSE).