- Open up your terminal and clone the repository by running
git clone https://github.com/hookdeck/nodejs-webhook-server-example.git
- Change into the cloned directory and install the dependencies
cd nodejs-webhook-server-example
npm install
- Start the server by executing
npm run dev
🟢 The node.js server starts up on
http://localhost:1337
.
See the list of endpoints in the
routes.js
file. Use the endpoint in the format/<platform>-webhooks-endpoint.