Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 757 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 757 Bytes

Note: This repo is deprecated. Please work against https://github.com/buildingos/buildingos-api-nodejs-example

BuildingOS API Node.js Example

A simple webapp that shows information from BuildingOS using an OAuth2 Client

Prerequisites

Installation

git clone https://github.com/luciddg/nodejs-api-example.git
cd nodejs-api-example
npm install

Create a configuration file:

cp config_example.json config.json

Edit that file and paste in your API Client ID and Secret

Start the application:

npm start

Point your browser at http://127.0.0.1:3000