An open API service indexing awesome lists of open source software.

https://github.com/hookdeck/nodejs-webhook-server-example


https://github.com/hookdeck/nodejs-webhook-server-example

Last synced: 6 months ago
JSON representation

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.`