luciddg / nodejs-api-example

Example app written in Nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Example app written in Nodejs


Languages

Language:JavaScript 84.3%Language:HTML 13.0%Language:CSS 2.7%