https://github.com/hookdeck/nodejs-webhook-server-example
https://github.com/hookdeck/nodejs-webhook-server-example
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hookdeck/nodejs-webhook-server-example
- Owner: hookdeck
- Created: 2021-05-02T01:48:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T11:29:28.000Z (over 1 year ago)
- Last Synced: 2024-09-17T12:53:53.061Z (over 1 year ago)
- Language: TypeScript
- Size: 95.7 KB
- Stars: 25
- Watchers: 4
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Simple Nodejs API
[slack-badge]: https://img.shields.io/badge/Slack-Hookdeck%20Developers-blue?logo=slack
[![slack-badge]](https://join.slack.com/t/hookdeckdevelopers/shared_invite/zt-yw7hlyzp-EQuO3QvdiBlH9Tz2KZg5MQ)
## Running the Application
- Open up your terminal and clone the repository by running
```bash
git clone https://github.com/hookdeck/nodejs-webhook-server-example.git
```
- Change into the cloned directory and install the dependencies
```bash
cd nodejs-webhook-server-example
npm install
```
- Start the server by executing
```bash
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 `/-webhooks-endpoint.`