Skip to content

Latest commit

 

History

History

js

JavaScript SDK Examples

There are places with examples, with JSBin the largest set, and Plunker the newest. Each example snippet is meant to be as simple as possible to show a particular use case.

All examples use OAuth. Use your own sandbox account, or one of the following playground accounts. Password is GoCircuit!1.

Running github examples locally

First register for a free developer account, then register for an OAuth client-side (Implicit) application providing a local redirect URL such as http://localhost:7000.

Then clone the repo and serve the files using a webserver such as http-server:

git clone https://github.com/circuit/circuit-sdk.git
cd circuit-sdk
npm i -g http-server
http-server -p 7000
// browse to http://localhost:7000/examples/js