Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 577 Bytes

File metadata and controls

25 lines (18 loc) · 577 Bytes

NodeJS/Express gridX Webhook Receiver Sample

This example implements a simple Express based server to receive events from gridX through webhooks. It implements only the appliance/online event handler.

The implementation just prints some of the received event's data to the console. You can play around with the server implementation while running it, every change will restart the server.

Prerequisites

To run this server, you need to have NodeJS and yarn or npm installed.

Usage

yarn

yarn
yarn start

npm

npm install
npm run start